public enum EdgeEnum extends Enum<EdgeEnum> implements JREnum
| Modifier and Type | Method and Description |
|---|---|
static EdgeEnum |
getByName(String name) |
static EdgeEnum |
getByValue(byte value) |
static EdgeEnum |
getByValue(Byte value) |
String |
getName() |
byte |
getValue() |
Byte |
getValueByte() |
static EdgeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeEnum TOP
public static final EdgeEnum BOTTOM
public static final EdgeEnum LEFT
public static final EdgeEnum RIGHT
public static EdgeEnum[] values()
for (EdgeEnum c : EdgeEnum.values()) System.out.println(c);
public static EdgeEnum 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 Byte getValueByte()
getValueByte in interface JREnumpublic static EdgeEnum getByValue(byte value)
Copyright © 2014. All rights reserved.