Iterator<CharsTrie.Entry>
public static final class CharsTrie.Iterator extends Object implements Iterator<CharsTrie.Entry>
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNext() |
|
CharsTrie.Entry |
next() |
Finds the next (string, value) pair if there is one.
|
void |
remove() |
Iterator.remove() is not supported.
|
CharsTrie.Iterator |
reset() |
Resets this iterator to its initial state.
|
forEachRemaining
public CharsTrie.Iterator reset()
public boolean hasNext()
hasNext
in interface Iterator<CharsTrie.Entry>
public CharsTrie.Entry next()
next
in interface Iterator<CharsTrie.Entry>
NoSuchElementException
- - iteration has no more elements.public void remove()
remove
in interface Iterator<CharsTrie.Entry>
UnsupportedOperationException
- (always)Copyright © 2016 Unicode, Inc. and others.