public static class ShortIterators.UnmodifiableIterator extends Object implements ShortIterator
| Modifier and Type | Field and Description |
|---|---|
protected ShortIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(ShortIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
short |
nextShort()
Returns the next element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, forEachRemaining, next, skipprotected final ShortIterator i
public UnmodifiableIterator(ShortIterator i)
public short nextShort()
ShortIteratornextShort in interface ShortIteratorIterator.next()Copyright © 2020. All rights reserved.