public static class ShortIterators.UnmodifiableBidirectionalIterator extends AbstractShortBidirectionalIterator
Constructor and Description |
---|
UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Short |
next()
Delegates to the corresponding type-specific method.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
java.lang.Short |
previous()
Delegates to the corresponding type-specific method.
|
short |
previousShort()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public short nextShort()
AbstractShortIterator
nextShort
in interface ShortIterator
nextShort
in class AbstractShortIterator
Iterator.next()
public short previousShort()
AbstractShortBidirectionalIterator
previousShort
in interface ShortBidirectionalIterator
previousShort
in class AbstractShortBidirectionalIterator
ListIterator.previous()
public java.lang.Short next()
AbstractShortIterator
next
in interface java.util.Iterator<java.lang.Short>
next
in class AbstractShortIterator
public java.lang.Short previous()
AbstractShortBidirectionalIterator
previous
in interface BidirectionalIterator<java.lang.Short>
previous
in class AbstractShortBidirectionalIterator
ListIterator.previous()