public enum Troolean extends Enum<Troolean>
Modifier and Type | Method and Description |
---|---|
boolean |
boolValue(boolean ifNeither) |
static Troolean |
get(Boolean a) |
static Troolean |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Troolean[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Troolean NEITHER
public static final Troolean TRUE
public static final Troolean FALSE
public static Troolean[] values()
for (Troolean c : Troolean.values()) System.out.println(c);
public static Troolean 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 boolValue(boolean ifNeither)
Copyright © 2011-2021. All Rights Reserved.