public static class ShortIterators.UnmodifiableListIterator extends AbstractShortListIterator
Constructor and Description |
---|
UnmodifiableListIterator(ShortListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Short |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
nextIndex() |
short |
nextShort()
Delegates to the corresponding generic method.
|
java.lang.Short |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
previousIndex() |
short |
previousShort()
Delegates to the corresponding generic method.
|
add, add, set, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public UnmodifiableListIterator(ShortListIterator 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 int nextIndex()
public int previousIndex()
@Deprecated public java.lang.Short next()
next
in interface java.util.Iterator<java.lang.Short>
next
in interface java.util.ListIterator<java.lang.Short>
next
in class AbstractShortIterator
@Deprecated public java.lang.Short previous()
previous
in interface BidirectionalIterator<java.lang.Short>
previous
in interface java.util.ListIterator<java.lang.Short>
previous
in class AbstractShortBidirectionalIterator
ListIterator.previous()