Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.CachingSetIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingSetIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Direct Known Subclasses:
LazyCollection.UnionSetIterator
- Enclosing class:
- LazyCollection<E>
public class LazyCollection.CachingSetIterator extends LazyCollection.CachingIterator
LazyCollection.ReadOnlyIteratorthat removes duplicate values from the underlying collection.
-
-
Field Summary
Fields Modifier and Type Field Description protected Enextprotected booleannextSetprotected java.util.Set<E>returnedValues-
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
i, inner
-
-
Constructor Summary
Constructors Constructor Description CachingSetIterator()Creates a newLazyCollection.CachingSetIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
updateCache
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
remove
-
-
-
-
Constructor Detail
-
CachingSetIterator
public CachingSetIterator()
Creates a newLazyCollection.CachingSetIterator.
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<E>- Overrides:
hasNextin classLazyCollection.CachingIterator
-
next
public E next()
- Specified by:
nextin interfacejava.util.Iterator<E>- Overrides:
nextin classLazyCollection.CachingIterator
-
-