public enum EnumWithAnonymousInnerClass extends Enum<EnumWithAnonymousInnerClass>
Enum Constant and Description |
---|
A |
Modifier and Type | Method and Description |
---|---|
static EnumWithAnonymousInnerClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumWithAnonymousInnerClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumWithAnonymousInnerClass A
public static EnumWithAnonymousInnerClass[] values()
for (EnumWithAnonymousInnerClass c : EnumWithAnonymousInnerClass.values()) System.out.println(c);
public static EnumWithAnonymousInnerClass 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 nullCopyright © 2002–2014 InfoEther. All rights reserved.