public enum EdgeEnum extends Enum<EdgeEnum> implements JREnum
Modifier and Type | Method and Description |
---|---|
static EdgeEnum |
getByName(String name) |
static EdgeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static EdgeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
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 JREnum
public final byte getValue()
public static EdgeEnum getByValue(Byte value)
public static EdgeEnum getByValue(byte value)
Copyright © 2016. All rights reserved.