public enum TernaryBoolean extends Enum<TernaryBoolean>
Enum Constant and Description |
---|
FALSE |
TRUE |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Boolean |
toBoolean(TernaryBoolean t) |
static TernaryBoolean |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TernaryBoolean[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TernaryBoolean TRUE
public static final TernaryBoolean FALSE
public static final TernaryBoolean UNSPECIFIED
public static TernaryBoolean[] values()
for (TernaryBoolean c : TernaryBoolean.values()) System.out.println(c);
public static TernaryBoolean 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 static Boolean toBoolean(TernaryBoolean t)
Copyright © 2009–2015 Magnolia International Ltd.. All rights reserved.