public class BinaryOp extends Procedure2
compilerKey, compilerXKey, validateApplyKey, validateXApplyKey
nameKey
Constructor and Description |
---|
BinaryOp(java.lang.String name,
int op) |
Modifier and Type | Method and Description |
---|---|
double |
apply(double arg1,
double arg2) |
java.lang.Object |
apply2(java.lang.Object arg1,
java.lang.Object arg2) |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSetter, getSourceLocation, isSideEffectFree, match0, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2)
apply2
in class Procedure2
public double apply(double arg1, double arg2)