public interface PeekableShortIterator extends ShortIterator
| Modifier and Type | Method and Description |
|---|---|
void |
advanceIfNeeded(short minval)
If needed, advance as long as the next value is smaller than minval (as an unsigned
short)
|
PeekableShortIterator |
clone()
Creates a copy of the iterator.
|
short |
peekNext()
Look at the next value without advancing
|
hasNext, next, nextAsInt, removevoid advanceIfNeeded(short minval)
minval - thresholdshort peekNext()
PeekableShortIterator clone()
clone in interface ShortIteratorCopyright © 2017. All rights reserved.