public static class IntIterators.UnmodifiableListIterator extends AbstractIntListIterator
| Constructor and Description |
|---|
IntIterators.UnmodifiableListIterator(IntListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Integer |
next()
Delegates to the corresponding type-specific method.
|
int |
nextIndex() |
int |
nextInt()
Delegates to the corresponding generic method.
|
Integer |
previous()
Delegates to the corresponding type-specific method.
|
int |
previousIndex() |
int |
previousInt()
Delegates to the corresponding generic method.
|
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremovebackskipskippublic IntIterators.UnmodifiableListIterator(IntListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public int nextInt()
AbstractIntIteratornextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public int previousInt()
AbstractIntBidirectionalIteratorpreviousInt in interface IntBidirectionalIteratorpreviousInt in class AbstractIntBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()
public Integer next()
AbstractIntIteratornext in interface Iterator<Integer>next in interface ListIterator<Integer>next in class AbstractIntIteratorpublic Integer previous()
AbstractIntBidirectionalIteratorprevious in interface BidirectionalIterator<Integer>previous in interface ListIterator<Integer>previous in class AbstractIntBidirectionalIteratorListIterator.previous()