Sole constructor. Programmers cannot invoke this constructor. It is for use by code emitted by the compiler in response to enum type declarations.
Returns the name of this enum constant, exactly as declared in its enum declaration.
Compares this enum with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Returns true if the specified object is equal to this enum constant.
Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum type should override this method when a more "programmer-friendly" string form exists.
The name of this enum constant, as declared in the enum declaration. Most programmers should use the {@link #toString} method rather than accessing this field.
The ordinal of this enumeration constant (its position in the enum declaration, where the initial constant is assigned an ordinal of zero).
This is the common base class of all enumeration types.