public static class IntIterators.UnmodifiableBidirectionalIterator extends AbstractIntBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(IntBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Integer |
next()
Delegates to the corresponding type-specific method.
|
int |
nextInt()
Delegates to the corresponding generic method.
|
java.lang.Integer |
previous()
Delegates to the corresponding type-specific method.
|
int |
previousInt()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic UnmodifiableBidirectionalIterator(IntBidirectionalIterator 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 java.lang.Integer next()
AbstractIntIteratornext in interface java.util.Iterator<java.lang.Integer>next in class AbstractIntIteratorpublic java.lang.Integer previous()
AbstractIntBidirectionalIteratorprevious in interface BidirectionalIterator<java.lang.Integer>previous in class AbstractIntBidirectionalIteratorListIterator.previous()