public static enum Constants.Bool extends Enum<Constants.Bool>
Enum Constant and Description |
---|
FALSE |
TRUE |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Constants.Bool |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Bool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Bool UNSPECIFIED
public static final Constants.Bool TRUE
public static final Constants.Bool FALSE
public static Constants.Bool[] values()
for (Constants.Bool c : Constants.Bool.values()) System.out.println(c);
public static Constants.Bool 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 null