Class LazyCollection.SubtractionIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
LazyCollection<E>.org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
org.eclipse.m2m.atl.emftvm.util.LazyCollection.SubtractionIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
LazyCollection<E>
LazyCollection.ReadOnlyIterator that returns elements contained in this underlying collection,
but not in the other underlying collection.-
Field Summary
FieldsFields inherited from class LazyCollection.CachingIterator
i, inner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LazyCollection.CachingIterator
updateCacheMethods inherited from class LazyCollection.ReadOnlyIterator
removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
s
-
next
-
nextSet
protected boolean nextSet
-
-
Constructor Details
-
SubtractionIterator
Creates a newLazyCollection<E>.SubtractionIteratoron this ands.- Parameters:
s- the collection to subtract from this
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<E>- Overrides:
hasNextin classLazyCollection<E>.CachingIterator
-
next
- Specified by:
nextin interfaceIterator<E>- Overrides:
nextin classLazyCollection<E>.CachingIterator
-