public class ASTIntegerRange.IntegerRange.RangeIterator extends Object implements ListIterator<Integer>
Constructor and Description |
---|
RangeIterator() |
RangeIterator(int startIndex) |
Modifier and Type | Method and Description |
---|---|
void |
add(Integer integer) |
boolean |
hasNext() |
boolean |
hasPrevious() |
Integer |
next() |
int |
nextIndex() |
Integer |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(Integer integer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public RangeIterator()
public RangeIterator(int startIndex)
public Integer next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<Integer>
public Integer previous()
previous
in interface ListIterator<Integer>
public int nextIndex()
nextIndex
in interface ListIterator<Integer>
public int previousIndex()
previousIndex
in interface ListIterator<Integer>
public void remove()
public void set(Integer integer)
set
in interface ListIterator<Integer>
public void add(Integer integer)
add
in interface ListIterator<Integer>
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.