Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.ExcludingIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- LazyCollection<E>
LazyCollection.ReadOnlyIterator
that excludes a given object.-
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.CachingIterator
i, inner
-
Constructor Summary
ConstructorsConstructorDescriptionExcludingIterator
(Object object) Creates a newLazyCollection<E>.ExcludingIterator
, which excludesobject
. -
Method Summary
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
object
-
next
-
nextSet
protected boolean nextSet
-
-
Constructor Details
-
ExcludingIterator
Creates a newLazyCollection<E>.ExcludingIterator
, which excludesobject
.- Parameters:
object
- the object to exclude
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<E>
- Overrides:
hasNext
in classLazyCollection<E>.CachingIterator
-
next
- Specified by:
next
in interfaceIterator<E>
- Overrides:
next
in classLazyCollection<E>.CachingIterator
-