public static final class BytesTrie.Iterator extends Object implements Iterator<BytesTrie.Entry>
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
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.
|
public BytesTrie.Iterator reset()
public boolean hasNext()
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)Copyright (c) 2016 IBM Corporation and others.