public class IntRangeIterator extends Object implements ListIterator<Integer>
Constructor and Description |
---|
IntRangeIterator(int low,
int step,
int size) |
IntRangeIterator(int low,
int step,
int size,
int startIdx) |
Modifier and Type | Method and Description |
---|---|
void |
add(Integer e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
int |
intNext() |
int |
intPrevious() |
int |
intValue(int idx) |
Integer |
next() |
int |
nextIndex() |
Integer |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(Integer e) |
Integer |
value(int idx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public IntRangeIterator(int low, int step, int size)
public IntRangeIterator(int low, int step, int size, int startIdx)
public boolean hasNext()
public int intNext()
public Integer next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<Integer>
public Integer previous()
previous
in interface ListIterator<Integer>
public int intPrevious()
public int nextIndex()
nextIndex
in interface ListIterator<Integer>
public int previousIndex()
previousIndex
in interface ListIterator<Integer>
public void remove()
public void set(Integer e)
set
in interface ListIterator<Integer>
public void add(Integer e)
add
in interface ListIterator<Integer>
public final int intValue(int idx)
public final Integer value(int idx)
Copyright © 2015. All rights reserved.