Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.ExcludingIterator
- 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.ExcludingIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>
- Enclosing class:
- LazyCollection<E>
public class LazyCollection.ExcludingIterator extends LazyCollection.CachingIterator
LazyCollection.ReadOnlyIterator
that excludes a given object.
-
-
Constructor Summary
Constructors Constructor Description ExcludingIterator(java.lang.Object object)
Creates a newLazyCollection.ExcludingIterator
, which excludesobject
.
-
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
-
-
-
-
Field Detail
-
object
protected final java.lang.Object object
-
next
protected E next
-
nextSet
protected boolean nextSet
-
-
Constructor Detail
-
ExcludingIterator
public ExcludingIterator(java.lang.Object object)
Creates a newLazyCollection.ExcludingIterator
, which excludesobject
.- Parameters:
object
- the object to exclude
-
-
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
-
-