|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An iterator over a collection of dictionary words. This is what the
databases return in response to a define(String) or
match(String, Strategy). It works like an
Iterator.
Database,
Database.define(String),
Database.match(String, Strategy)| Method Summary | |
Database |
getDatabase()
Returns the database that was used to perform the search. |
java.lang.String |
getWord()
Returns the word that was used to perform the search. |
boolean |
hasNext()
Returns true there are more elements. |
int |
matches()
Returns the number of matches. |
Definition |
next()
Returns the definition of the next word in the collection. |
java.lang.String |
nextWord()
Returns the next word definition in the collection. |
| Method Detail |
public Database getDatabase()
public java.lang.String getWord()
public int matches()
public java.lang.String nextWord()
throws DatabaseException
DatabaseException
public boolean hasNext()
throws DatabaseException
true there are more elements.
DatabaseException
public Definition next()
throws DatabaseException
DatabaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||