public static class IntIterators.UnmodifiableBidirectionalIterator extends AbstractIntBidirectionalIterator
Constructor and Description |
---|
IntIterators.UnmodifiableBidirectionalIterator(IntBidirectionalIterator 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 |
nextInt()
Delegates to the corresponding generic method.
|
Integer |
previous()
Delegates to the corresponding type-specific method.
|
int |
previousInt()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public IntIterators.UnmodifiableBidirectionalIterator(IntBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public int nextInt()
AbstractIntIterator
nextInt
in interface IntIterator
nextInt
in class AbstractIntIterator
Iterator.next()
public int previousInt()
AbstractIntBidirectionalIterator
previousInt
in interface IntBidirectionalIterator
previousInt
in class AbstractIntBidirectionalIterator
ListIterator.previous()
public Integer next()
AbstractIntIterator
next
in interface Iterator<Integer>
next
in class AbstractIntIterator
public Integer previous()
AbstractIntBidirectionalIterator
previous
in interface BidirectionalIterator<Integer>
previous
in class AbstractIntBidirectionalIterator
ListIterator.previous()