public static enum MessageWithNoOuter.NestedEnum extends Enum<MessageWithNoOuter.NestedEnum>
Enum Constant and Description |
---|
BAZ |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
String |
toString() |
static MessageWithNoOuter.NestedEnum |
valueOf(int value) |
static MessageWithNoOuter.NestedEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageWithNoOuter.NestedEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageWithNoOuter.NestedEnum BAZ
public static MessageWithNoOuter.NestedEnum[] values()
for (MessageWithNoOuter.NestedEnum c : MessageWithNoOuter.NestedEnum.values()) System.out.println(c);
public static MessageWithNoOuter.NestedEnum 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 final int getNumber()
public final String toString()
toString
in class Enum<MessageWithNoOuter.NestedEnum>
public static MessageWithNoOuter.NestedEnum valueOf(int value)
Copyright © 2016. All rights reserved.