Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.FlattenIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<Object>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.FlattenIterator
- Enclosing class:
LazyCollection<E>
Recursively flattens any nested
Iterables by iterating over their elements
as well.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlattenIterator(Iterable<?> inner) Creates a newLazyCollection.FlattenIteratoraroundinner. -
Method Summary
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
inner
-
current
-
next
-
nextSet
protected boolean nextSet
-
-
Constructor Details
-
FlattenIterator
Creates a newLazyCollection.FlattenIteratoraroundinner.- Parameters:
inner- the underlying collection
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-