public enum MaybeBoolean extends java.lang.Enum<MaybeBoolean>
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
booleanValue(MaybeBoolean b) |
static MaybeBoolean |
consensus(boolean a,
boolean b) |
static MaybeBoolean |
valueOf(boolean b) |
static MaybeBoolean |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MaybeBoolean[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaybeBoolean True
public static final MaybeBoolean False
public static final MaybeBoolean Maybe
public static MaybeBoolean[] values()
for (MaybeBoolean c : MaybeBoolean.values()) System.out.println(c);
public static MaybeBoolean valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MaybeBoolean valueOf(boolean b)
public static java.lang.Boolean booleanValue(MaybeBoolean b)
public static MaybeBoolean consensus(boolean a, boolean b)
http://code.google.com/p/jebl2/