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, toString
public Integer getAsLongInt()
getAsLongInt
in interface Value
getAsLongInt
in class BaseValue
public Double getAsDouble()
getAsDouble
in interface Value
getAsDouble
in class BaseValue
public Date getAsDateTime(EvalContext ctx)
getAsDateTime
in interface Value
getAsDateTime
in class BaseValue
protected abstract Number getNumber()
Copyright © 2005–2018. All rights reserved.