public static class SuggestTree.Node
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SuggestTree.Entry |
getSuggestion(int index)
Returns the suggestion at the specified index in the list.
|
int |
listLength()
Returns the number of suggestions in the list.
|
public SuggestTree.Entry getSuggestion(int index)
index
- the index of the suggestion to returnjava.lang.ArrayIndexOutOfBoundsException
- if the specified index is
negative or not less than the list lengthpublic int listLength()