|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.wallstreetwise.app.jspell.domain.Suggestions
public class Suggestions
This class is used to encapsulate an array of Strings representing the suggestions returned by the spell checker.
| Constructor Summary | |
|---|---|
Suggestions(int count)
Creates a new instance of Suggestions with an internal String array size of 'count'. |
|
| Method Summary | |
|---|---|
void |
clear()
Clear the contents of the internal String array. |
void |
clear(int count)
Initialize an empty String array of size 'count'. |
int |
getCount()
Returns the size of the suggestions String array. |
java.lang.String[] |
getSuggestions()
Return a String array of the suggestions. |
void |
setSuggestions(java.lang.String[] suggestions)
Update the suggestions String array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Suggestions(int count)
count - an int.| Method Detail |
|---|
public void clear()
public void clear(int count)
count - an int.public java.lang.String[] getSuggestions()
public void setSuggestions(java.lang.String[] suggestions)
suggestions - a String array.public int getCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||