public static class ShortIterators.UnmodifiableIterator extends AbstractShortIterator
Constructor and Description |
---|
UnmodifiableIterator(ShortIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Short |
next()
Delegates to the corresponding type-specific method.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
remove, skip
public UnmodifiableIterator(ShortIterator i)
public boolean hasNext()
public short nextShort()
AbstractShortIterator
nextShort
in interface ShortIterator
nextShort
in class AbstractShortIterator
Iterator.next()
public java.lang.Short next()
AbstractShortIterator
next
in interface java.util.Iterator<java.lang.Short>
next
in class AbstractShortIterator