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, remove
void advanceIfNeeded(short minval)
minval
- thresholdshort peekNext()
PeekableShortIterator clone()
clone
in interface ShortIterator
Copyright © 2018. All rights reserved.