public enum Boolean3 extends Enum<Boolean3>
Enum Constant and Description |
---|
FALSE
The false value.
|
NULL
The undefined value.
|
TRUE
The true value.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
toBoolean()
Convert the three valued boolean to a two valued boolean object.
|
static Boolean3 |
valueOf(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(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 Boolean toBoolean()
Copyright © 2013. All Rights Reserved.