Package org.eclipse.m2m.atl.emftvm.util
Class LazyCollection.IntegerRangeListIterator
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyIterator<E>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.ReadOnlyListIterator<java.lang.Integer>
-
- org.eclipse.m2m.atl.emftvm.util.LazyCollection.IntegerRangeListIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.Integer>
,java.util.ListIterator<java.lang.Integer>
- Enclosing class:
- LazyCollection<E>
public static class LazyCollection.IntegerRangeListIterator extends LazyCollection.ReadOnlyListIterator<java.lang.Integer>
LazyCollection.ReadOnlyIterator
forInteger
ranges.
-
-
Constructor Summary
Constructors Constructor Description IntegerRangeListIterator(int first, int last)
Creates a newLazyCollection.IntegerRangeListIterator
.IntegerRangeListIterator(int first, int last, int index)
Creates a newLazyCollection.IntegerRangeListIterator
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
hasPrevious()
java.lang.Integer
next()
int
nextIndex()
java.lang.Integer
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
-
IntegerRangeListIterator
public IntegerRangeListIterator(int first, int last)
Creates a newLazyCollection.IntegerRangeListIterator
.- Parameters:
first
- the first element of the rangelast
- the last element of the range
-
IntegerRangeListIterator
public IntegerRangeListIterator(int first, int last, int index)
Creates a newLazyCollection.IntegerRangeListIterator
.- Parameters:
first
- the first element of the rangelast
- the last element of the rangeindex
- the starting index of the list iterator
-
-