public static final class BytesTrie.Iterator extends Object implements Iterator<BytesTrie.Entry>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns
true if the iteration has more elements. |
BytesTrie.Entry |
next()
Finds the next (byte sequence, value) pair if there is one.
|
void |
remove()
Iterator.remove() is not supported.
|
BytesTrie.Iterator |
reset()
Resets this iterator to its initial state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic BytesTrie.Iterator reset()
public boolean hasNext()
Iteratortrue if the iteration has more elements.
(In other words, returns true if Iterator.next() would
return an element rather than throwing an exception.)hasNext in interface Iterator<BytesTrie.Entry>public BytesTrie.Entry next()
next in interface Iterator<BytesTrie.Entry>NoSuchElementException - - iteration has no more elements.public void remove()
remove in interface Iterator<BytesTrie.Entry>UnsupportedOperationException - (always)