Class Definition
java.lang.Object
Definition
- public class Definition
- extends Object
Model the definition of a word in a dictionary.
- Version:
- 4
- See Also:
Dictionary
Constructor Summary |
Definition(String definition)
Construct a simple Definition. |
Method Summary |
String |
toString()
Construct a String representation of this Definition. |
Definition
public Definition(String definition)
- Construct a simple Definition.
- Parameters:
definition
- the definition.
toString
public String toString()
- Construct a String representation of this Definition.
- Returns:
- the definition string.