org.vizzini.util
Interface IEnumeratedType

All Superinterfaces:
Comparable
All Known Implementing Classes:
AbstractEnumeratedType, ArgumentType, Arrangement, ConnectiveType, CrossoverType, DefaultEnumeratedType, Markings, OperatorType, SentenceType

public interface IEnumeratedType
extends Comparable

Defines methods required by enumerated types.

Since:
v0.1
Version:
v0.1
Author:
Jeffrey M. Thompson

Method Summary
 boolean equals(Object another)
          Return true if these objects are equal.
 String getName()
          Return the name of this type.
 int hashCode()
          Return the hash code.
 int intValue()
          Return the integer value of this type.
 String toString()
          Return a string representation of this object.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

String getName()
Return the name of this type.

Since:
v0.1

equals

boolean equals(Object another)
Return true if these objects are equal.

Overrides:
equals in class Object
Since:
v0.1

hashCode

int hashCode()
Return the hash code.

Overrides:
hashCode in class Object
Since:
v0.1

intValue

int intValue()
Return the integer value of this type.

Since:
v0.1

toString

String toString()
Return a string representation of this object.

Overrides:
toString in class Object
Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02