public interface JsonNumber extends JsonValue
JsonValue.ValueType
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
Modifier and Type | Method and Description |
---|---|
BigDecimal |
bigDecimalValue() |
BigInteger |
bigIntegerValue() |
BigInteger |
bigIntegerValueExact() |
double |
doubleValue() |
boolean |
equals(Object obj) |
int |
hashCode() |
int |
intValue() |
int |
intValueExact() |
boolean |
isIntegral() |
long |
longValue() |
long |
longValueExact() |
default Number |
numberValue() |
String |
toString() |
asJsonArray, asJsonObject, getValueType
boolean isIntegral()
int intValue()
int intValueExact()
long longValue()
long longValueExact()
BigInteger bigIntegerValue()
BigInteger bigIntegerValueExact()
double doubleValue()
BigDecimal bigDecimalValue()
default Number numberValue()
String toString()
Copyright © 2010 - 2020 Adobe. All Rights Reserved