Package org.eclipse.m2m.atl.emftvm.util
Class LazyList.PrependList.PrependIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
LazyCollection<E>.WrappedIterator
org.eclipse.m2m.atl.emftvm.util.LazyList.PrependList.PrependIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- LazyList.PrependList<E>
Iterator
that prepends an object to the underlying collection.-
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedIterator
inner
-
Constructor Summary
Constructors -
Method Summary
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
-
beforeHead
protected boolean beforeHead
-
-
Constructor Details
-
PrependIterator
public PrependIterator()Creates a newLazyList.PrependList<E>.PrependIterator
.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<E>
- Overrides:
hasNext
in classLazyCollection<E>.WrappedIterator
-
next
- Specified by:
next
in interfaceIterator<E>
- Overrides:
next
in classLazyCollection<E>.WrappedIterator
-