public interface WordList
Modifier and Type | Method and Description |
---|---|
String |
get(int index)
Returns the word at the given 0-based index.
|
Comparator<String> |
getComparator()
Returns the comparator that should be used to compare a search term with candidate words in the list.
|
Iterator<String> |
iterator()
Returns an iterator to traverse this word list from the 0th index.
|
Iterator<String> |
medianIterator()
Returns an iterator to traverse this word list by following a recursive sequence of medians.
|
int |
size()
Returns the number of words in the list.
|
Comparator<String> getComparator()
String get(int index)
index
- 0-based index.Iterator<String> iterator()
Iterator<String> medianIterator()
int size()
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.