public class Arithmetic
extends org.apache.commons.jexl2.JexlArithmetic
| Constructor and Description |
|---|
Arithmetic(boolean lenient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object left,
Object right)
This method differs from the parent class in that we are going to try and do a better job of coercing the types.
|
protected Object |
fixLeft(Object left,
Object right) |
boolean |
lessThan(Object left,
Object right) |
boolean |
matches(Object left,
Object right)
This method differs from the parent in that we are not calling String.matches() because it does not match on a newline.
|
add, controlNullNullOperands, controlNullOperand, divide, greaterThan, greaterThanOrEqual, isFloatingPoint, isFloatingPointNumber, isFloatingPointType, isLenient, isNumberable, lessThanOrEqual, mod, multiply, narrow, narrowArguments, narrowArrayType, narrowBigInteger, subtract, toBigDecimal, toBigInteger, toBoolean, toDouble, toInteger, toLong, toStringpublic boolean matches(Object left, Object right)
matches in class org.apache.commons.jexl2.JexlArithmeticleft - first valueright - second valuepublic boolean equals(Object left, Object right)
equals in class org.apache.commons.jexl2.JexlArithmeticpublic boolean lessThan(Object left, Object right)
lessThan in class org.apache.commons.jexl2.JexlArithmeticCopyright © 2014 Calrissian. All Rights Reserved.