|
DocFlex/Javadoc 1.6 Demo Java Doc |
||||||||||||||
| Method Summary | ||
protected Object |
clone() Throws CloneNotSupportedException. |
|
int |
compareTo(E o) Compares this enum with the specified object for order. |
|
boolean |
equals(Object other) Returns true if the specified object is equal to this enum constant. |
|
protected void |
finalize() enum classes cannot have finalize methods. |
|
| getDeclaringClass() Returns the Class object corresponding to this enum constant's enum type. |
||
int |
hashCode() Returns a hash code for this enum constant. |
|
| name() Returns the name of this enum constant, exactly as declared in its enum declaration. |
||
int |
ordinal() Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero). |
|
| toString() Returns the name of this enum constant, as contained in the declaration. |
||
static <T extends Enum<T>> T |
valueOf(Class<T> enumType, String name) Returns the enum constant of the specified enum type with the specified name. |
|
Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.
|
DocFlex/Javadoc 1.6 Demo Java Doc |
||||||||||||||