public static enum EnumIdType.Test extends Enum<EnumIdType.Test>
| Modifier and Type | Method and Description |
|---|---|
static EnumIdType.Test |
fromId(int id) |
int |
getId() |
static EnumIdType.Test |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumIdType.Test[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumIdType.Test T1
public static final EnumIdType.Test T2
public static final EnumIdType.Test T3
public static EnumIdType.Test[] values()
for (EnumIdType.Test c : EnumIdType.Test.values()) System.out.println(c);
public static EnumIdType.Test 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 getId()
public static EnumIdType.Test fromId(int id)
Copyright © 2016. All Rights Reserved.