Class EnumSymbol

java.lang.Object
   |
   +----EnumSymbol

public class EnumSymbol
extends Object
implements Serializable
The class `EnumSymbol' represents an enumeration symbol.


Constructor Index

 o EnumSymbol(String)
Constructs an instance of EnumSymbol.

Method Index

 o equals(Object)
Returns true just in case the given object is an EnumSymbol whose string is equal to this one.
 o toString()
Returns the string representation of this enumeration symbol.

Constructors

 o EnumSymbol
 public EnumSymbol(String symbol)
Constructs an instance of EnumSymbol.

Parameters:
symbol - A string representing the enumeration symbol.

Methods

 o equals
 public boolean equals(Object anObject)
Returns true just in case the given object is an EnumSymbol whose string is equal to this one.

Parameters:
anObject - The Object to be compared.
Returns:
s True just in case the given object is an EnumSymbol whose string is equal to this one.
Overrides:
equals in class Object
 o toString
 public String toString()
Returns the string representation of this enumeration symbol.

Parameters:
anObject - The string representation of this enumeration symbol.
Overrides:
toString in class Object