Class Definition

java.lang.Object
  extended byDefinition

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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Definition

public Definition(String definition)
Construct a simple Definition.

Parameters:
definition - the definition.
Method Detail

toString

public String toString()
Construct a String representation of this Definition.

Returns:
the definition string.