public abstract class DelegatingIterable<E>
extends java.lang.Object
implements java.lang.Iterable<E>
Iterable which delegates all method calls to another given Iterable.
This class is abstract and is meant to be a convenient way of composing Iterables despite the lack of native support for the decoration pattern in
Java.
| Constructor and Description |
|---|
DelegatingIterable(java.lang.Iterable<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<E> |
iterator() |