Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.SubListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.SubListIterator
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- LazyCollection<E>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubListIterator
(int fromIndex, int toIndex) Creates aLazyCollection<E>.SubListIterator
for the rangefromIndex
, including, totoIndex
, excluding. -
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
-
toIndex
protected final int toIndex -
i
protected int i
-
-
Constructor Details
-
SubListIterator
public SubListIterator(int fromIndex, int toIndex) Creates aLazyCollection<E>.SubListIterator
for the rangefromIndex
, including, totoIndex
, excluding.- Parameters:
fromIndex
- the starting index, inclusivetoIndex
- the ending index, exclusive
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-