Value.Kind| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
asBigDecimal() |
double |
asDouble() |
float |
asFloat() |
default Value.Kind |
getKind()
Kind of value, used for logical separation between implementations
|
boolean |
isBigDecimal() |
boolean |
isDouble() |
boolean |
isFloat() |
int |
ordinal()
Returns type ordinal
Float - 3,
Double - 4
BigDecimal - 10
|
isEqualTo, resolve, toBooleanValue, toByteArrayValue, toDateValue, toIntegerValue, toNamedValue, toNullValue, toObjectIdentifierValue, toObjectValue, toOpenTypeValue, toRealValue, toStringValue, toValueCollectioncompareToboolean isFloat()
boolean isDouble()
boolean isBigDecimal()
int ordinal()
float asFloat()
double asDouble()
BigDecimal asBigDecimal()
@NotNull default Value.Kind getKind()
ValueCopyright © 2017. All rights reserved.