Package org.zkoss.zel.impl.lang
Class ELArithmetic.LongDelegate
- java.lang.Object
-
- org.zkoss.zel.impl.lang.ELArithmetic
-
- org.zkoss.zel.impl.lang.ELArithmetic.LongDelegate
-
- Enclosing class:
- ELArithmetic
public static final class ELArithmetic.LongDelegate extends ELArithmetic
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.zkoss.zel.impl.lang.ELArithmetic
ELArithmetic.BigDecimalDelegate, ELArithmetic.BigIntegerDelegate, ELArithmetic.DoubleDelegate, ELArithmetic.LongDelegate
-
-
Field Summary
-
Fields inherited from class org.zkoss.zel.impl.lang.ELArithmetic
BIGDECIMAL, BIGINTEGER, DOUBLE, LONG
-
-
Constructor Summary
Constructors Constructor Description LongDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Number
add(java.lang.Number num0, java.lang.Number num1)
protected java.lang.Number
coerce(java.lang.Number num)
protected java.lang.Number
coerce(java.lang.String str)
protected java.lang.Number
divide(java.lang.Number num0, java.lang.Number num1)
boolean
matches(java.lang.Object obj0, java.lang.Object obj1)
protected java.lang.Number
mod(java.lang.Number num0, java.lang.Number num1)
protected java.lang.Number
multiply(java.lang.Number num0, java.lang.Number num1)
protected java.lang.Number
subtract(java.lang.Number num0, java.lang.Number num1)
-
Methods inherited from class org.zkoss.zel.impl.lang.ELArithmetic
add, coerce, divide, isNumber, isNumberType, mod, multiply, subtract
-
-
-
-
Method Detail
-
add
protected java.lang.Number add(java.lang.Number num0, java.lang.Number num1)
- Specified by:
add
in classELArithmetic
-
coerce
protected java.lang.Number coerce(java.lang.Number num)
- Specified by:
coerce
in classELArithmetic
-
coerce
protected java.lang.Number coerce(java.lang.String str)
- Specified by:
coerce
in classELArithmetic
-
divide
protected java.lang.Number divide(java.lang.Number num0, java.lang.Number num1)
- Specified by:
divide
in classELArithmetic
-
mod
protected java.lang.Number mod(java.lang.Number num0, java.lang.Number num1)
- Specified by:
mod
in classELArithmetic
-
subtract
protected java.lang.Number subtract(java.lang.Number num0, java.lang.Number num1)
- Specified by:
subtract
in classELArithmetic
-
multiply
protected java.lang.Number multiply(java.lang.Number num0, java.lang.Number num1)
- Specified by:
multiply
in classELArithmetic
-
matches
public boolean matches(java.lang.Object obj0, java.lang.Object obj1)
- Specified by:
matches
in classELArithmetic
-
-