public abstract class BaseNumericValue extends BaseValue
Value.Type| Modifier | Constructor and Description |
|---|---|
protected |
BaseNumericValue() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getAsDateTime(EvalContext ctx) |
Double |
getAsDouble() |
Integer |
getAsLongInt() |
protected abstract Number |
getNumber() |
getAsBigDecimal, getAsBoolean, getAsString, isNull, roundToLongInt, toStringpublic Integer getAsLongInt()
getAsLongInt in interface ValuegetAsLongInt in class BaseValuepublic Double getAsDouble()
getAsDouble in interface ValuegetAsDouble in class BaseValuepublic Date getAsDateTime(EvalContext ctx)
getAsDateTime in interface ValuegetAsDateTime in class BaseValueprotected abstract Number getNumber()
Copyright © 2005–2018. All rights reserved.