public class Int extends java.lang.Object implements Obj, NativeObject<java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
Obj |
divide(Obj other)
Division operator in AJE.
|
boolean |
equals(java.lang.Object obj) |
Obj |
getAttr(java.lang.String name)
Attribute operator in AJE.
|
Type<Int> |
getType() |
Obj |
greaterThan(Obj other)
Greater than operator in AJE.
|
int |
hashCode() |
Obj |
invoke(java.util.List<Obj> arguments)
Invcoation operator in AJE.
|
Obj |
isEqualTo(Obj other)
Equality operator in AJE.
|
Obj |
lessThan(Obj other)
Less than operator in AJE.
|
Obj |
minus(Obj other)
Subtraction operator in AJE.
|
Obj |
mod(Obj other)
Modulus operator in AJE.
|
Int |
negative()
Negative numeric unary operator in AJE.
|
static Int |
of(int i) |
Obj |
plus(Obj other)
Addition operator in AJE.
|
Obj |
pow(Obj other)
Exponentiation operator in AJE.
|
Obj |
times(Obj other)
Multiplication operator in AJE.
|
java.lang.Integer |
toNative() |
java.lang.String |
toString() |
int |
value() |
public static Int of(int i)
public int value()
public java.lang.Integer toNative()
toNative in interface NativeObject<java.lang.Integer>toNative in interface Objnull if it doesn't implement the
NativeObject interface.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Obj plus(Obj other)
Obj+.
Undefined.VALUE if not implemented.public Obj minus(Obj other)
Obj-.
Undefined.VALUE if not implemented.public Obj times(Obj other)
Obj*.
Undefined.VALUE if not implemented.public Obj divide(Obj other)
Obj/.
Undefined.VALUE if not implemented.public Obj pow(Obj other)
Obj^.
Undefined.VALUE if not implemented.public Obj mod(Obj other)
Obj%.
Undefined.VALUE if not implemented.public Int negative()
Obj-.public Obj isEqualTo(Obj other)
Obj==.
Bool representation of Object.equals(Object)
if not implemented.public Obj greaterThan(Obj other)
Obj>.
Undefined.VALUE if not implemented.greaterThan in interface Objother - Right Obj operand.Obj result of the operation.public Obj lessThan(Obj other)
Obj<.
Undefined.VALUE if not implemented.public Obj invoke(java.util.List<Obj> arguments)
Obja(b, c...).
Undefined.VALUE if not implemented.public Obj getAttr(java.lang.String name)
Obja.b.
Undefined.VALUE if not implemented.