public enum Tristate extends Enum<Tristate>
| Modifier and Type | Method and Description |
|---|---|
static Tristate |
fromBool(boolean v) |
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 TRUE
public static final Tristate FALSE
public static final Tristate UNKNOWN
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 fromBool(boolean v)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.