public static class ShortIterators.UnmodifiableIterator extends AbstractShortIterator
Constructor and Description |
---|
UnmodifiableIterator(ShortIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Short |
next()
Delegates to the corresponding type-specific method.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public UnmodifiableIterator(ShortIterator i)
public boolean hasNext()
public short nextShort()
AbstractShortIterator
nextShort
in interface ShortIterator
nextShort
in class AbstractShortIterator
Iterator.next()
public Short next()
AbstractShortIterator
next
in interface Iterator<Short>
next
in class AbstractShortIterator