Package org.eclipse.m2m.atl.emftvm.util
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 org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
i, inner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
updateCacheMethods 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
-
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
-