public interface PeekableIntIterator extends IntIterator
| Modifier and Type | Method and Description |
|---|---|
void |
advanceIfNeeded(int minval)
If needed, advance as long as the next value is smaller than minval
|
PeekableIntIterator |
clone()
Creates a copy of the iterator.
|
int |
peekNext()
Look at the next value without advancing
|
hasNext, nextvoid advanceIfNeeded(int minval)
minval - thresholdint peekNext()
PeekableIntIterator clone()
clone in interface IntIteratorCopyright © 2016. All Rights Reserved.