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 |
compilerKey, compilerXKey, validateApplyKey, validateXApplyKeynameKey| 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) |
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, toStringgetName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbolpublic 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 Procedure1or2java.lang.Throwablepublic 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 Procedure1or2java.lang.Throwable