public enum DoorHinge extends Enum<DoorHinge> implements StringIdentifiable
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
String |
toString() |
static DoorHinge |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DoorHinge[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfcreateCodec, createCodec, method_28142public static final DoorHinge LEFT
public static final DoorHinge RIGHT
public static DoorHinge[] values()
for (DoorHinge c : DoorHinge.values()) System.out.println(c);
public static DoorHinge valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String asString()
asString in interface StringIdentifiable