|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.wrapper.StateBase
Provides an abstract base class for implementations of state.
NOT available in MIDP
Method Summary | |
int |
compareTo(java.lang.Object object)
Compares a given object to this state object for the purpose of collating. |
boolean |
equals(java.lang.Object object)
Determines if an object is equal to this object. |
int |
getCode()
Return the integer code that identifies this state. |
java.lang.String |
getName()
Returns the descriptive name of the state. |
int |
hashCode()
Returns the hash code for this state. |
java.lang.String |
toString()
A string representation of this state. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getName()
getName
in interface State
public int getCode()
getCode
in interface State
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- An object to test for equality.
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
object
- An object to compare this object to.
The value 1 is returned if:
The value 0 (zero) is returned if:
The value -1 is returned if:
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface State
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |