ShortIterator, java.util.Iterator<java.lang.Short>public static class ShortIterators.UnmodifiableIterator extends java.lang.Object implements ShortIterator
| Constructor | Description |
|---|---|
UnmodifiableIterator(ShortIterator i) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
|
short |
nextShort() |
Returns the next element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, forEachRemaining, next, skippublic UnmodifiableIterator(ShortIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>public short nextShort()
ShortIteratornextShort in interface ShortIteratorIterator.next()