| Modifier and Type | Field and Description |
|---|---|
protected short |
value |
| Modifier and Type | Method and Description |
|---|---|
protected static Bool |
getByValue(java.lang.Short value) |
short |
getValue() |
static Bool |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bool FALSE
public static final Bool TRUE
public static final Bool INVALID
public static Bool[] values()
for (Bool c : Bool.values()) System.out.println(c);
public static Bool 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 nullprotected static Bool getByValue(java.lang.Short value)
public short getValue()