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 Summary
Constructors Constructor Description RangeIterator()
RangeIterator(int startIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Integer integer)
boolean
hasNext()
boolean
hasPrevious()
Integer
next()
int
nextIndex()
Integer
previous()
int
previousIndex()
void
remove()
void
set(Integer integer)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
next
public Integer next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<Integer>
-
previous
public 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
public void set(Integer integer)
- Specified by:
set
in interfaceListIterator<Integer>
-
add
public void add(Integer integer)
- Specified by:
add
in interfaceListIterator<Integer>
-
-