|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.types.samples.TestEnumWiredText
public final class TestEnumWiredText
Enumerated type of a test enum wired text. Instances of this class are immutable. The following test enum wired texts are defined:
| Field Summary | |
|---|---|
static TestEnumWiredText |
TEST
The TestEnumWiredText Strange!. |
static String |
TYPE_NAME
The name of this type. |
static TestEnumWiredText |
V_5_7_2_6___12
The TestEnumWiredText 5.7.2.6 / 12. |
static Map |
VALUE_MAP
Immutable map using the name string as key holding the TestEnumWiredTexts as values. |
static List |
VALUES
Immutable list of the TestEnumWiredTexts. |
static TestEnumWiredText |
ZUES__1_
The TestEnumWiredText Zues (1). |
| Method Summary | |
|---|---|
static TestEnumWiredText |
fromInt(int i)
Creates a TestEnumWiredText object from its int representation. |
static TestEnumWiredText |
fromString(String str)
Creates a TestEnumWiredText object from its String representation. |
int |
toInt()
Returns the int representation of this test enum wired text. |
String |
toString()
Returns the String representation of this test enum wired text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NAME
public static final TestEnumWiredText ZUES__1_
public static final TestEnumWiredText TEST
public static final TestEnumWiredText V_5_7_2_6___12
public static final List VALUES
public static final Map VALUE_MAP
| Method Detail |
|---|
public static TestEnumWiredText fromInt(int i)
throws ArgumentMalformedException
i - the integer representation of the test enum wired text.
ArgumentMalformedException - If the assigned int value isn't
listed in the internal test enum wired text table.
public static TestEnumWiredText fromString(String str)
throws ArgumentMalformedException
str - the string representation of the
test enum wired text.
ArgumentMalformedException - If the given str value isn't
listed in the internal test enum wired text table.public int toInt()
toInt in interface EnumTypepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||