- Enclosing class:
- SpellCheck
public static class SpellCheck.Word
extends Object
An inner class to represent a misspelled word.
-
Field Summary
Fields
protected int
protected int
-
Constructor Summary
Constructors
Constructor for given word at index.
-
Method Summary
int
int
Returns a list of suggestions.
Returns string representation of word.
-
Field Details
-
-
_start
protected int _start
-
-
Constructor Details
-
Word
public Word(String aString,
int aStart)
Constructor for given word at index.
-
Method Details
-
getString
Returns the string.
-
getStart
public int getStart()
Returns the start index.
-
getEnd
public int getEnd()
Returns the end index.
-
getSuggestions
Returns a list of suggestions.
-
toString
Returns string representation of word.
- Overrides:
toString
in class Object