Package org.glassfish.json
Class JsonNumberImpl.JsonBigDecimalNumber
java.lang.Object
org.glassfish.json.JsonNumberImpl
org.glassfish.json.JsonNumberImpl.JsonBigDecimalNumber
- All Implemented Interfaces:
JsonNumber,JsonValue
- Enclosing class:
JsonNumberImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.json.JsonValue
JsonValue.ValueType -
Field Summary
FieldsFields inherited from interface javax.json.JsonValue
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this JSON number as aBigDecimalobject.Returns this JSON number as aNumberobject.Methods inherited from class org.glassfish.json.JsonNumberImpl
bigIntegerValue, bigIntegerValueExact, doubleValue, equals, getJsonNumber, getJsonNumber, getJsonNumber, getJsonNumber, getJsonNumber, getValueType, hashCode, intValue, intValueExact, isIntegral, longValue, longValueExact, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.json.JsonValue
asJsonArray, asJsonObject
-
Field Details
-
bigDecimal
-
-
Constructor Details
-
JsonBigDecimalNumber
JsonBigDecimalNumber(BigDecimal value)
-
-
Method Details
-
bigDecimalValue
Description copied from interface:JsonNumberReturns this JSON number as aBigDecimalobject.- Returns:
- a
BigDecimalrepresentation of the JSON number
-
numberValue
Description copied from interface:JsonNumberReturns this JSON number as aNumberobject.- Returns:
- a
Numberrepresentation of the JSON number
-