public class ArithOp extends Procedure1or2
Modifier and Type | Field and Description |
---|---|
static ArithOp |
add |
static ArithOp |
div |
static ArithOp |
idiv |
static ArithOp |
minus |
static ArithOp |
mod |
static ArithOp |
mul |
static ArithOp |
plus |
static ArithOp |
sub |
applyToObject
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply1(java.lang.Object arg1) |
java.lang.Object |
apply2(java.lang.Object arg1,
java.lang.Object arg2) |
static java.math.BigDecimal |
div(java.math.BigDecimal d1,
java.math.BigDecimal d2) |
apply0, 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 static final ArithOp add
public static final ArithOp sub
public static final ArithOp mul
public static final ArithOp div
public static final ArithOp idiv
public static final ArithOp mod
public static final ArithOp plus
public static final ArithOp minus
public java.lang.Object apply1(java.lang.Object arg1) throws java.lang.Throwable
apply1
in class Procedure1or2
java.lang.Throwable
public static java.math.BigDecimal div(java.math.BigDecimal d1, java.math.BigDecimal d2)
public java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2) throws java.lang.Throwable
apply2
in class Procedure1or2
java.lang.Throwable