BidirectionalIterator<java.lang.Short>, ObjectBidirectionalIterator<java.lang.Short>, ObjectIterator<java.lang.Short>, ShortBidirectionalIterator, ShortIterator, ShortListIterator, java.util.Iterator<java.lang.Short>, java.util.ListIterator<java.lang.Short>public static class ShortIterators.UnmodifiableListIterator extends java.lang.Object implements ShortListIterator
| Constructor | Description |
|---|---|
UnmodifiableListIterator(ShortListIterator i) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
Returns whether there is a previous element.
|
int |
nextIndex() |
|
short |
nextShort() |
Returns the next element as a primitive type.
|
int |
previousIndex() |
|
short |
previousShort() |
Returns the previous element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, skipforEachRemaining, forEachRemainingpublic UnmodifiableListIterator(ShortListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>hasNext in interface java.util.ListIterator<java.lang.Short>public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<java.lang.Short>hasPrevious in interface java.util.ListIterator<java.lang.Short>ListIterator.hasPrevious()public short nextShort()
ShortIteratornextShort in interface ShortIteratorIterator.next()public short previousShort()
ShortBidirectionalIteratorpreviousShort in interface ShortBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Short>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Short>