|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl2.JexlArithmetic
org.apache.accumulo.examples.wikisearch.jexl.Arithmetic
public class Arithmetic
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jexl2.JexlArithmetic |
|---|
BIGD_DOUBLE_MAX_VALUE, BIGD_DOUBLE_MIN_VALUE, BIGI_LONG_MAX_VALUE, BIGI_LONG_MIN_VALUE |
| Constructor Summary | |
|---|---|
Arithmetic(boolean lenient)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.commons.jexl2.JexlArithmetic |
|---|
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, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Arithmetic(boolean lenient)
| Method Detail |
|---|
public boolean matches(Object left,
Object right)
matches in class org.apache.commons.jexl2.JexlArithmeticleft - first valueright - second value
public boolean equals(Object left,
Object right)
equals in class org.apache.commons.jexl2.JexlArithmetic
public boolean lessThan(Object left,
Object right)
lessThan in class org.apache.commons.jexl2.JexlArithmetic
protected Object fixLeft(Object left,
Object right)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||