public class PugJexlArithmetic
extends org.apache.commons.jexl3.JexlArithmetic
org.apache.commons.jexl3.JexlArithmetic.ArrayBuilder, org.apache.commons.jexl3.JexlArithmetic.MapBuilder, org.apache.commons.jexl3.JexlArithmetic.NullOperand, org.apache.commons.jexl3.JexlArithmetic.SetBuilder, org.apache.commons.jexl3.JexlArithmetic.Uberspect| Constructor and Description |
|---|
PugJexlArithmetic(boolean astrict) |
| Modifier and Type | Method and Description |
|---|---|
Object |
add(Object left,
Object right) |
protected int |
compare(Object left,
Object right,
String operator)
Prioritize String comparison
|
org.apache.commons.jexl3.JexlArithmetic.MapBuilder |
mapBuilder(int size) |
boolean |
toBoolean(Object val)
using the original implementation
added check for empty lists
defaulting to "true"
|
and, arrayBuilder, asLongNumber, bitwiseAnd, bitwiseOr, bitwiseXor, collectionContains, compare, complement, contains, controlNullNullOperands, controlNullNullOperands, controlNullOperand, controlNullOperand, controlReturn, createRange, createWithOptions, decrement, divide, empty, endsWith, equals, getMathContext, getMathScale, greaterThan, greaterThanOrEqual, increment, increment, isEmpty, isEmpty, isFloatingPoint, isFloatingPointNumber, isMultiplyExact, isNegateStable, isNullOperand, isNumberable, isPositivizeStable, isStrict, isStrict, lessThan, lessThanOrEqual, logicalNot, matches, mod, multiply, narrow, narrowAccept, narrowArguments, narrowBigDecimal, narrowBigInteger, narrowLong, narrowNumber, negate, not, options, options, options, or, positivize, roundBigDecimal, setBuilder, shiftLeft, shiftRight, shiftRightUnsigned, size, size, startsWith, subtract, testPredicate, toBigDecimal, toBigDecimal, toBigInteger, toBigInteger, toBoolean, toDouble, toDouble, toInteger, toInteger, toLong, toLong, toString, toString, xorprotected int compare(Object left, Object right, String operator)
compare in class org.apache.commons.jexl3.JexlArithmeticleft - the left operandright - the right operatoroperator - the operatorpublic boolean toBoolean(Object val)
toBoolean in class org.apache.commons.jexl3.JexlArithmeticpublic Object add(Object left, Object right)
add in class org.apache.commons.jexl3.JexlArithmeticpublic org.apache.commons.jexl3.JexlArithmetic.MapBuilder mapBuilder(int size)
mapBuilder in class org.apache.commons.jexl3.JexlArithmeticCopyright © 2024. All rights reserved.