Class LazyCollection.FlattenSetIterator

java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<Object>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.FlattenSetIterator
All Implemented Interfaces:
Iterator<Object>
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 Details

    • inner

      protected final Iterator<?> inner
    • returnedValues

      protected final Set<?> returnedValues
    • current

      protected Iterator<?> current
    • next

      protected Object next
    • nextSet

      protected boolean nextSet
  • Constructor Details

  • Method Details