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