Class LazyCollection.SubListListIterator
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.SubListListIterator
- All Implemented Interfaces:
Iterator<E>, ListIterator<E>
- Enclosing class:
LazyCollection<E>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubListListIterator(int fromIndex, int toIndex) Creates aLazyCollection<E>.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.SubListListIterator(int fromIndex, int toIndex, int index) Creates aLazyCollection<E>.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding. -
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
-
fromIndex
protected final int fromIndex -
toIndex
protected final int toIndex -
i
protected int i
-
-
Constructor Details
-
SubListListIterator
public SubListListIterator(int fromIndex, int toIndex) Creates aLazyCollection<E>.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.- Parameters:
fromIndex- the starting index. inclusivetoIndex- the ending index, exclusive
-
SubListListIterator
public SubListListIterator(int fromIndex, int toIndex, int index) Creates aLazyCollection<E>.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.- Parameters:
fromIndex- the starting index, inclusivetoIndex- the ending index, exclusiveindex- the iterator starting index.
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
nextIndex
public int nextIndex() -
hasPrevious
public boolean hasPrevious() -
previous
-
previousIndex
public int previousIndex()
-