Package org.eclipse.m2m.atl.emftvm.util
Class LazyOrderedSet.PrependOrderedSet.PrependOrderedSetIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
LazyCollection<E>.WrappedIterator
org.eclipse.m2m.atl.emftvm.util.LazyOrderedSet.PrependOrderedSet.PrependOrderedSetIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- LazyOrderedSet.PrependOrderedSet<E>
public class LazyOrderedSet.PrependOrderedSet.PrependOrderedSetIterator
extends LazyCollection<E>.WrappedIterator
Iterator that prepends an object to the underlying
collection, except when it already occurs in the underlying collection.-
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedIterator
inner -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLazyOrderedSet.PrependOrderedSet<E>.PrependOrderedSetIterator. -
Method Summary
Methods 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
-
beforeHead
protected boolean beforeHead
-
-
Constructor Details
-
PrependOrderedSetIterator
public PrependOrderedSetIterator()Creates a newLazyOrderedSet.PrependOrderedSet<E>.PrependOrderedSetIterator.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<E>- Overrides:
hasNextin classLazyCollection<E>.WrappedIterator
-
next
- Specified by:
nextin interfaceIterator<E>- Overrides:
nextin classLazyCollection<E>.WrappedIterator
-