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.ReadOnlyIterator
that removes duplicate values from the underlying collection.
-
-
Field Summary
Fields Modifier and Type Field Description protected E
next
protected boolean
nextSet
protected 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 boolean
hasNext()
E
next()
-
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:
hasNext
in interfacejava.util.Iterator<E>
- Overrides:
hasNext
in classLazyCollection.CachingIterator
-
next
public E next()
- Specified by:
next
in interfacejava.util.Iterator<E>
- Overrides:
next
in classLazyCollection.CachingIterator
-
-