public enum RackElementType extends Enum<RackElementType>
| Enum Constant and Description |
|---|
FILLER_PANEL |
ORGANISER |
PATCH_PANEL |
| Modifier and Type | Method and Description |
|---|---|
static RackElementType |
getByValue(int value)
Get enum by integer value
|
int |
getValue()
Get integer value
|
static RackElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RackElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RackElementType PATCH_PANEL
public static final RackElementType FILLER_PANEL
public static final RackElementType ORGANISER
public static RackElementType[] values()
for (RackElementType c : RackElementType.values()) System.out.println(c);
public static RackElementType 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 int getValue()
public static RackElementType getByValue(int value)
value - integer valueCopyright © 2018. All rights reserved.