Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.FlattenSetIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<Object>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.FlattenSetIterator
- Enclosing class:
LazyCollection<E>
public static class LazyCollection.FlattenSetIterator
extends LazyCollection.ReadOnlyIterator<Object>
Recursively flattens any nested
Iterables by iterating over their elements
as well. Removes any duplicates from the returned elements.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlattenSetIterator(Iterable<?> inner) Creates a newLazyCollection.FlattenSetIteratoraroundinner. -
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
-
returnedValues
-
current
-
next
-
nextSet
protected boolean nextSet
-
-
Constructor Details
-
FlattenSetIterator
Creates a newLazyCollection.FlattenSetIteratoraroundinner.- Parameters:
inner- the underlying collection
-
-
Method Details
-
hasNext
public boolean hasNext()- See Also:
-
next
- See Also:
-