Class LazyCollection.WrappedListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<E>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.WrappedListIterator
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
- Direct Known Subclasses:
LazyList.AppendList.AppendListIterator, LazyList.InsertAtList.InsertAtListIterator, LazyList.PrependList.PrependListIterator, LazyList.UnionListIterator, LazyOrderedSet.AppendOrderedSet.AppendOrderedSetListIterator, LazyOrderedSet.ExcludingOrderedSet.ExcludingOrderedSetListIterator, LazyOrderedSet.InsertAtOrderedSet.InsertAtOrderedSetListIterator, LazyOrderedSet.PrependOrderedSet.PrependOrderedSetListIterator
- Enclosing class:
LazyCollection<E>
public abstract class LazyCollection.WrappedListIterator
extends LazyCollection.ReadOnlyListIterator<E>
Abstract
LazyCollection.ReadOnlyListIterator that wraps around the underlying collection.
Assumes the underlying collection is a List.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLazyCollection<E>.WrappedListIterator.WrappedListIterator(int index) Creates a newLazyCollection<E>.WrappedListIteratorstarting atindex. -
Method Summary
Methods inherited from class LazyCollection.ReadOnlyListIterator
add, setMethods 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
forEachRemainingMethods inherited from interface ListIterator
remove
-
Field Details
-
inner
-
-
Constructor Details
-
WrappedListIterator
public WrappedListIterator()Creates a newLazyCollection<E>.WrappedListIterator. -
WrappedListIterator
public WrappedListIterator(int index) Creates a newLazyCollection<E>.WrappedListIteratorstarting atindex.- Parameters:
index- the iterator starting index of the underlying iterator.
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious() -
next
-
nextIndex
public int nextIndex() -
previous
-
previousIndex
public int previousIndex()
-