public final class SuggestTree.Iterator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more terms.
|
SuggestTree.Entry |
next()
Returns the next term in the iteration.
|
public boolean hasNext()
public SuggestTree.Entry next() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- if the iteration has no more terms