Package org.eclipse.m2m.atl.emftvm.util
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:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- LazyCollection<E>
public class LazyCollection.SubListListIterator extends LazyCollection.ReadOnlyListIterator<E>
Iteratorthat iterates over a subrange of the underlyingLazyList's contents.
-
-
Constructor Summary
Constructors Constructor Description SubListListIterator(int fromIndex, int toIndex)Creates aLazyCollection.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.SubListListIterator(int fromIndex, int toIndex, int index)Creates aLazyCollection.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()-
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
-
-
-
-
Constructor Detail
-
SubListListIterator
public SubListListIterator(int fromIndex, int toIndex)Creates aLazyCollection.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.SubListListIteratorfor the rangefromIndex, including, totoIndex, excluding.- Parameters:
fromIndex- the starting index, inclusivetoIndex- the ending index, exclusiveindex- the iterator starting index.
-
-