public static class ShortIterators.UnmodifiableIterator extends AbstractShortIterator
| Constructor and Description |
|---|
UnmodifiableIterator(ShortIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
short |
nextShort()
Returns the next element as a primitive type.
|
next, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(ShortIterator i)
public boolean hasNext()
public short nextShort()
AbstractShortIteratorThis implementation delegates to the corresponding generic method.
nextShort in interface ShortIteratornextShort in class AbstractShortIteratorIterator.next()