org.apache.commons.jexl2
Class JadeJexlArithmetic

java.lang.Object
  extended by org.apache.commons.jexl2.JexlArithmetic
      extended by 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
JadeJexlArithmetic(boolean lenient)
           
 
Method Summary
 boolean toBoolean(Object val)
          using the original implementation added check for empty lists defaulting to "true"
 
Methods inherited from class org.apache.commons.jexl2.JexlArithmetic
add, bitwiseAnd, bitwiseComplement, bitwiseOr, bitwiseXor, compare, 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, 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 Detail

JadeJexlArithmetic

public JadeJexlArithmetic(boolean lenient)
Method Detail

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


Copyright © 2013. All rights reserved.