public enum TrueFalseEither extends Enum<TrueFalseEither>
Enum Constant and Description |
---|
EITHER
Either (Boolean value: null)
|
FALSE
False
|
TRUE
True
|
Modifier and Type | Method and Description |
---|---|
static TrueFalseEither |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrueFalseEither[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrueFalseEither TRUE
public static final TrueFalseEither FALSE
public static final TrueFalseEither EITHER
public static TrueFalseEither[] values()
for (TrueFalseEither c : TrueFalseEither.values()) System.out.println(c);
public static TrueFalseEither 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 © 2019. All rights reserved.