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.
|
int |
nextInt()
Returns the next element as a primitive type.
|
int |
previousInt()
This implementation delegates to
AbstractIntBidirectionalIterator.previous(). |
back, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, skipskipforEachRemaining, removepublic UnmodifiableBidirectionalIterator(IntBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public int nextInt()
AbstractIntIteratorThis implementation delegates to the corresponding generic method.
nextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public int previousInt()
AbstractIntBidirectionalIterator
This implementation delegates to AbstractIntBidirectionalIterator.previous().
previousInt in interface IntBidirectionalIteratorpreviousInt in class AbstractIntBidirectionalIteratorListIterator.previous()