public abstract class ExprEval<T> extends Object
Modifier and Type | Method and Description |
---|---|
abstract boolean |
asBoolean() |
abstract double |
asDouble() |
abstract int |
asInt() |
abstract long |
asLong() |
String |
asString() |
static ExprEval |
bestEffortOf(Object val) |
abstract ExprEval |
castTo(ExprType castTo) |
boolean |
isNull() |
Number |
numericValue() |
static ExprEval |
of(boolean value,
ExprType type) |
static ExprEval |
of(double doubleValue) |
static ExprEval |
of(long longValue) |
static ExprEval |
of(String stringValue) |
static ExprEval |
ofDouble(Number doubleValue) |
static ExprEval |
ofLong(Number longValue) |
abstract Expr |
toExpr() |
abstract ExprType |
type() |
Object |
value() |
public static ExprEval of(long longValue)
public static ExprEval of(double doubleValue)
public abstract ExprType type()
public Object value()
public boolean isNull()
public Number numericValue()
public abstract int asInt()
public abstract long asLong()
public abstract double asDouble()
public String asString()
public abstract boolean asBoolean()
public abstract Expr toExpr()
Copyright © 2011–2017. All rights reserved.