Package org.apache.commons.jexl3
Class PugJexlArithmetic
- java.lang.Object
-
- org.apache.commons.jexl3.JexlArithmetic
-
- org.apache.commons.jexl3.PugJexlArithmetic
-
public class PugJexlArithmetic extends org.apache.commons.jexl3.JexlArithmetic
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class 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 Summary
Constructors Constructor Description PugJexlArithmetic(boolean astrict)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectadd(Object left, Object right)protected intcompare(Object left, Object right, String operator)booleantoBoolean(Object val)using the original implementation added check for empty lists defaulting to "true"-
Methods inherited from class org.apache.commons.jexl3.JexlArithmetic
and, arrayBuilder, bitwiseAnd, bitwiseOr, bitwiseXor, complement, contains, controlNullNullOperands, controlNullOperand, createRange, createWithOptions, divide, endsWith, equals, getMathContext, getMathScale, greaterThan, greaterThanOrEqual, isEmpty, isFloatingPoint, isFloatingPointNumber, isNumberable, isStrict, lessThan, lessThanOrEqual, logicalNot, mapBuilder, matches, mod, multiply, narrow, narrowAccept, narrowArguments, narrowBigDecimal, narrowBigInteger, narrowNumber, negate, not, options, options, or, roundBigDecimal, setBuilder, size, startsWith, subtract, toBigDecimal, toBigInteger, toDouble, toInteger, toLong, toString, xor
-
-
-
-
Method Detail
-
compare
protected int compare(Object left, Object right, String operator)
- Overrides:
comparein classorg.apache.commons.jexl3.JexlArithmetic
-
toBoolean
public boolean toBoolean(Object val)
using the original implementation added check for empty lists defaulting to "true"- Overrides:
toBooleanin classorg.apache.commons.jexl3.JexlArithmetic
-
-