Package javax.json
Interface JsonNumber
- All Superinterfaces:
JsonValue
JsonValue which represents a number.
The decimal point is defined as dot '.'.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.json.JsonValue
JsonValue.ValueType
-
Field Summary
Fields inherited from interface javax.json.JsonValue
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
-
Method Summary
Methods inherited from interface javax.json.JsonValue
asJsonArray, asJsonObject, getValueType
-
Method Details
-
isIntegral
boolean isIntegral() -
intValue
int intValue() -
intValueExact
int intValueExact() -
longValue
long longValue() -
longValueExact
long longValueExact() -
bigIntegerValue
BigInteger bigIntegerValue() -
bigIntegerValueExact
BigInteger bigIntegerValueExact() -
doubleValue
double doubleValue() -
bigDecimalValue
BigDecimal bigDecimalValue() -
numberValue
- Since:
- 1.1
-
toString
String toString() -
equals
-
hashCode
int hashCode()
-