Class ASTIntegerRange.IntegerRange.RangeIterator
java.lang.Object
org.apache.velocity.runtime.parser.node.ASTIntegerRange.IntegerRange.RangeIterator
- All Implemented Interfaces:
Iterator<Integer>
,ListIterator<Integer>
- Enclosing class:
ASTIntegerRange.IntegerRange
public class ASTIntegerRange.IntegerRange.RangeIterator
extends Object
implements ListIterator<Integer>
-
Constructor Details
-
RangeIterator
public RangeIterator() -
RangeIterator
public RangeIterator(int startIndex)
-
-
Method Details
-
next
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<Integer>
-
previous
- Specified by:
previous
in interfaceListIterator<Integer>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<Integer>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<Integer>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<Integer>
-
add
- Specified by:
add
in interfaceListIterator<Integer>
-
hasNext
public boolean hasNext()
-