public abstract class Func extends java.lang.Object implements Obj<java.util.function.Function<java.util.List<Obj>,Obj>>
| Modifier and Type | Class and Description |
|---|---|
static class |
Func.FunctionCls |
Obj.ObjCls| Constructor and Description |
|---|
Func() |
| Modifier and Type | Method and Description |
|---|---|
Obj |
divide(Obj other)
Division operator in AJE.
|
abstract int |
getArity() |
abstract java.util.List<Parameter> |
getParameters() |
Cls<Func> |
getType() |
abstract Obj |
invoke(java.util.List<Obj> arguments)
Invcoation operator in AJE.
|
Obj |
minus(Obj other)
Subtraction operator in AJE.
|
Obj |
plus(Obj other)
Addition operator in AJE.
|
Obj |
times(Obj other)
Multiplication operator in AJE.
|
java.util.function.Function<java.util.List<Obj>,Obj> |
toJava() |
java.lang.String |
toString() |
public abstract int getArity()
public abstract java.util.List<Parameter> getParameters()
public abstract Obj invoke(java.util.List<Obj> arguments)
Obja(b, c...).
Undefined.VALUE if not implemented.public 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 java.lang.String toString()
toString in class java.lang.Object