Class LazyCollection.ExcludingIterator
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.ExcludingIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
LazyCollection<E>
LazyCollection.ReadOnlyIterator that excludes a given object.-
Field Summary
FieldsFields inherited from class LazyCollection.CachingIterator
i, inner -
Constructor Summary
ConstructorsConstructorDescriptionExcludingIterator(Object object) Creates a newLazyCollection<E>.ExcludingIterator, which excludesobject. -
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
-
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:
hasNextin interfaceIterator<E>- Overrides:
hasNextin classLazyCollection<E>.CachingIterator
-
next
- Specified by:
nextin interfaceIterator<E>- Overrides:
nextin classLazyCollection<E>.CachingIterator
-