BidirectionalIterator<java.lang.Integer>, IntBidirectionalIterator, IntIterator, ObjectBidirectionalIterator<java.lang.Integer>, ObjectIterator<java.lang.Integer>, java.util.Iterator<java.lang.Integer>public static class IntIterators.UnmodifiableBidirectionalIterator extends AbstractIntBidirectionalIterator
| Modifier and Type | Field | Description |
|---|---|---|
protected IntBidirectionalIterator |
i |
| Constructor | Description |
|---|---|
UnmodifiableBidirectionalIterator(IntBidirectionalIterator i) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
Returns whether there is a previous element.
|
java.lang.Integer |
next() |
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
nextInt() |
Delegates to the corresponding generic method.
|
java.lang.Integer |
previous() |
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
previousInt() |
Delegates to the corresponding generic method.
|
backremove, skipskipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipprotected final IntBidirectionalIterator i
public 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()@Deprecated public java.lang.Integer next()
next in interface java.util.Iterator<java.lang.Integer>next in class AbstractIntIterator@Deprecated public java.lang.Integer previous()
previous in interface BidirectionalIterator<java.lang.Integer>previous in class AbstractIntBidirectionalIteratorListIterator.previous()