public enum TriState extends Enum<TriState>
Modifier and Type | Method and Description |
---|---|
boolean |
get() |
static TriState |
of(boolean b) |
static TriState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriState FALSE
public static final TriState DEFAULT
public static final TriState TRUE
public static TriState[] values()
for (TriState c : TriState.values()) System.out.println(c);
public static TriState 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 TriState of(boolean b)
public boolean get()