public class BinaryOp extends Procedure2
applyToObject
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, 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) |
apply0, apply1, apply3, apply4, applyN, applyToObject, numArgs
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, 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)