public abstract class ELArithmetic extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ELArithmetic.BigDecimalDelegate |
static class |
ELArithmetic.BigIntegerDelegate |
static class |
ELArithmetic.DoubleDelegate |
static class |
ELArithmetic.LongDelegate |
Modifier and Type | Field and Description |
---|---|
static ELArithmetic.BigDecimalDelegate |
BIGDECIMAL |
static ELArithmetic.BigIntegerDelegate |
BIGINTEGER |
static ELArithmetic.DoubleDelegate |
DOUBLE |
static ELArithmetic.LongDelegate |
LONG |
Modifier | Constructor and Description |
---|---|
protected |
ELArithmetic() |
Modifier and Type | Method and Description |
---|---|
protected abstract Number |
add(Number num0,
Number num1) |
static Number |
add(Object obj0,
Object obj1) |
protected abstract Number |
coerce(Number num) |
protected Number |
coerce(Object obj) |
protected abstract Number |
coerce(String str) |
protected abstract Number |
divide(Number num0,
Number num1) |
static Number |
divide(Object obj0,
Object obj1) |
static boolean |
isNumber(Object obj) |
static boolean |
isNumberType(Class<?> type) |
protected abstract boolean |
matches(Object obj0,
Object obj1) |
protected abstract Number |
mod(Number num0,
Number num1) |
static Number |
mod(Object obj0,
Object obj1) |
protected abstract Number |
multiply(Number num0,
Number num1) |
static Number |
multiply(Object obj0,
Object obj1) |
protected abstract Number |
subtract(Number num0,
Number num1) |
static Number |
subtract(Object obj0,
Object obj1) |
public static final ELArithmetic.BigDecimalDelegate BIGDECIMAL
public static final ELArithmetic.BigIntegerDelegate BIGINTEGER
public static final ELArithmetic.DoubleDelegate DOUBLE
public static final ELArithmetic.LongDelegate LONG
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.