Package org.eclipse.m2m.atl.emftvm.util
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:
java.util.Iterator<E>
,java.util.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>
AbstractLazyCollection.ReadOnlyListIterator
that wraps around the underlying collection. Assumes the underlying collection is aList
.
-
-
Constructor Summary
Constructors Constructor Description WrappedListIterator()
Creates a newLazyCollection.WrappedListIterator
.WrappedListIterator(int index)
Creates a newLazyCollection.WrappedListIterator
starting atindex
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator
add, set
-
Methods inherited from class org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator
remove
-
-
-
-
Field Detail
-
inner
protected final java.util.ListIterator<E> inner
-
-
Constructor Detail
-
WrappedListIterator
public WrappedListIterator()
Creates a newLazyCollection.WrappedListIterator
.
-
WrappedListIterator
public WrappedListIterator(int index)
Creates a newLazyCollection.WrappedListIterator
starting atindex
.- Parameters:
index
- the iterator starting index of the underlying iterator.
-
-