Class LazyCollection.LongRangeListIterator
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<Long>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<Long>
org.eclipse.m2m.atl.emftvm.util.LazyCollection.LongRangeListIterator
- All Implemented Interfaces:
Iterator<Long>, ListIterator<Long>
- Enclosing class:
LazyCollection<E>
public static class LazyCollection.LongRangeListIterator
extends LazyCollection.ReadOnlyListIterator<Long>
LazyCollection.ReadOnlyIterator for Long ranges.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLongRangeListIterator(long first, long last) Creates a newLazyCollection.LongRangeListIterator.LongRangeListIterator(long first, long last, int index) Creates a newLazyCollection.LongRangeListIterator. -
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
-
first
protected final long first -
last
protected final long last -
index
protected int index
-
-
Constructor Details
-
LongRangeListIterator
public LongRangeListIterator(long first, long last) Creates a newLazyCollection.LongRangeListIterator.- Parameters:
first- the first element of the rangelast- the last element of the range
-
LongRangeListIterator
public LongRangeListIterator(long first, long last, int index) Creates a newLazyCollection.LongRangeListIterator.- Parameters:
first- the first element of the rangelast- the last element of the rangeindex- the starting index of the list iterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
hasPrevious
public boolean hasPrevious() -
previous
-
nextIndex
public int nextIndex() -
previousIndex
public int previousIndex()
-