public interface Value extends FieldAccessors
| Modifier and Type | Method and Description |
|---|---|
ValueList |
getList() |
ValueMap |
getMap() |
boolean |
isNull() |
static Value |
nullValue() |
static Value |
of(BigDecimal bd) |
static Value |
of(BigInteger bi) |
static Value |
of(Boolean b) |
static Value |
of(Byte b) |
static Value |
of(CharSequence s) |
static Value |
of(Double v) |
static Value |
of(Float v) |
static Value |
of(Integer i) |
static Value |
of(Long l) |
static Value |
of(Object o) |
static Value |
of(Object v,
Function<Object,Value> valueFromObject)
Cast of one of the primitive type.
|
static Value |
of(Short s) |
static Value |
of(String s) |
static Value |
of(Value v)
Make sure Value is not null.
|
getAs, getBoolean, getBooleanAs, getByte, getByteAs, getDouble, getDoubleAs, getFloat, getFloatAs, getInt, getIntAs, getLong, getLongAs, getObject, getShort, getShortAs, getString, getStringAsstatic Value nullValue()
static Value of(CharSequence s)
static Value of(BigInteger bi)
static Value of(BigDecimal bd)
static Value of(Object v, Function<Object,Value> valueFromObject)
ValueMap getMap()
ValueList getList()
boolean isNull()
Copyright © 2015. All rights reserved.