Enum Constant and Description |
---|
FALSE
The false value.
|
NULL
The undefined value.
|
TRUE
The true value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTrue()
Check if explicitly set to true, i.e.
|
java.lang.Boolean |
toBoolean()
Convert the three valued boolean to a two valued boolean object.
|
static Boolean3 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Boolean3[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Boolean3 NULL
public static final Boolean3 FALSE
public static final Boolean3 TRUE
public static Boolean3[] values()
for (Boolean3 c : Boolean3.values()) System.out.println(c);
public static Boolean3 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 nullpublic java.lang.Boolean toBoolean()
public boolean isTrue()