Class JadeJexlArithmetic

java.lang.Object
org.apache.commons.jexl2.JexlArithmetic
org.apache.commons.jexl2.JadeJexlArithmetic

public class JadeJexlArithmetic extends org.apache.commons.jexl2.JexlArithmetic
  • Field Summary

    Fields inherited from class org.apache.commons.jexl2.JexlArithmetic

    BIGD_DOUBLE_MAX_VALUE, BIGD_DOUBLE_MIN_VALUE, BIGD_SCALE, BIGI_LONG_MAX_VALUE, BIGI_LONG_MIN_VALUE, mathContext, mathScale
  • Constructor Summary

    Constructors
    Constructor
    Description
    JadeJexlArithmetic(boolean lenient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    add(Object left, Object right)
     
    protected int
    compare(Object left, Object right, String operator)
     
    boolean
    using the original implementation added check for empty lists defaulting to "true"

    Methods inherited from class org.apache.commons.jexl2.JexlArithmetic

    bitwiseAnd, bitwiseComplement, bitwiseOr, bitwiseXor, controlNullNullOperands, controlNullOperand, divide, equals, getMathContext, getMathScale, greaterThan, greaterThanOrEqual, isFloatingPoint, isFloatingPointNumber, isFloatingPointType, isLenient, isNumberable, lessThan, lessThanOrEqual, matches, mod, multiply, narrow, narrowAccept, narrowArguments, narrowArrayType, narrowBigDecimal, narrowBigInteger, narrowNumber, negate, roundBigDecimal, setLenient, subtract, toBigDecimal, toBigInteger, toDouble, toInteger, toLong, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JadeJexlArithmetic

      public JadeJexlArithmetic(boolean lenient)
  • Method Details

    • compare

      protected int compare(Object left, Object right, String operator)
      Overrides:
      compare in class org.apache.commons.jexl2.JexlArithmetic
    • toBoolean

      public boolean toBoolean(Object val)
      using the original implementation added check for empty lists defaulting to "true"
      Overrides:
      toBoolean in class org.apache.commons.jexl2.JexlArithmetic
    • add

      public Object add(Object left, Object right)
      Overrides:
      add in class org.apache.commons.jexl2.JexlArithmetic