public enum Bool extends java.lang.Enum<Bool> implements Obj, NativeObject<java.lang.Boolean>
| Modifier and Type | Method and Description |
|---|---|
Bool |
and(Bool other) |
Obj |
and(Obj other) |
Type |
getType() |
Bool |
isEqualTo(Obj other) |
Bool |
negate() |
Bool |
or(Bool other) |
Obj |
or(Obj other) |
java.lang.Boolean |
toNative() |
java.lang.String |
toString() |
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 Type TYPE
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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<Bool>public java.lang.Boolean toNative()
toNative in interface NativeObject<java.lang.Boolean>toNative in interface Obj