public interface SearchIterator<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
V |
next(K key)
Searches "forwards" (in direction of travel) in the iterator for the required key;
if this or any key greater has already been returned by the iterator, the method may
choose to return null, the correct or incorrect output, or fail an assertion.
|
boolean hasNext()
V next(K key)
key - to search forCopyright © 2016 The Apache Software Foundation