Iterator<BytesTrie.Entry>
public static final class BytesTrie.Iterator extends Object implements Iterator<BytesTrie.Entry>
Modifier and Type | Method | 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.
|
forEachRemaining
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 ? 2016 Unicode, Inc. and others.