public static enum SerializerTest.TestEnumWithMethods extends java.lang.Enum<SerializerTest.TestEnumWithMethods>
Modifier and Type | Method and Description |
---|---|
static SerializerTest.TestEnumWithMethods |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerializerTest.TestEnumWithMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializerTest.TestEnumWithMethods a
public static final SerializerTest.TestEnumWithMethods b
public static final SerializerTest.TestEnumWithMethods c
public static SerializerTest.TestEnumWithMethods[] values()
for (SerializerTest.TestEnumWithMethods c : SerializerTest.TestEnumWithMethods.values()) System.out.println(c);
public static SerializerTest.TestEnumWithMethods valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null