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)
And operator in AJE.
|
Type |
getType() |
Bool |
isEqualTo(Obj other)
Equality operator in AJE.
|
Bool |
negate()
Negation operator in AJE.
|
Bool |
or(Bool other) |
Obj |
or(Obj other)
Or operator in AJE.
|
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 Objnull if it doesn't implement the
NativeObject interface.public Type getType()
public Obj or(Obj other)
Obj||.
Undefined.VALUE if not implemented.public Obj and(Obj other)
Obj&&.
Undefined.VALUE if not implemented.public Bool negate()
Obj!.