Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.LongRangeListIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<java.lang.Long>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.LongRangeListIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Long>
,java.util.ListIterator<java.lang.Long>
- Enclosing class:
- LazyCollection<E>
public static class LazyCollection.LongRangeListIterator extends LazyCollection.ReadOnlyListIterator<java.lang.Long>
LazyCollection.ReadOnlyIterator
forLong
ranges.
-
-
Constructor Summary
Constructors Constructor Description LongRangeListIterator(long first, long last)
Creates a newLazyCollection.LongRangeListIterator
.LongRangeListIterator(long first, long last, int index)
Creates a newLazyCollection.LongRangeListIterator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
hasPrevious()
java.lang.Long
next()
int
nextIndex()
java.lang.Long
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
-
-
-
-
Constructor Detail
-
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
-
-