Package org.eclipse.epsilon.eol.util
Class LazyIntegerList.LazyIntegerListIterator
java.lang.Object
org.eclipse.epsilon.eol.util.LazyIntegerList.LazyIntegerListIterator
- All Implemented Interfaces:
Iterator<Integer>
,ListIterator<Integer>
- Enclosing class:
- LazyIntegerList
public class LazyIntegerList.LazyIntegerListIterator
extends Object
implements ListIterator<Integer>
-
Field Details
-
min
protected int min -
max
protected int max -
current
protected int current
-
-
Constructor Details
-
LazyIntegerListIterator
public LazyIntegerListIterator(int min, int max)
-
-
Method Details
-
add
- Specified by:
add
in interfaceListIterator<Integer>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<Integer>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<Integer>
-
previous
- Specified by:
previous
in interfaceListIterator<Integer>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<Integer>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<Integer>
-