-
- All Implemented Interfaces:
-
java.io.Serializable
public class JSONNumberValue extends Number
An abstract base class for the three number types of JSON value. It includes functions to assist with conversion between number types.
-
-
Method Summary
Modifier and Type Method Description abstract NumbergetValue()abstract BooleanisIntegral()abstract BooleanisLong()abstract BooleanisInt()abstract BooleanisShort()abstract BooleanisByte()abstract BooleanisULong()abstract BooleanisUInt()abstract BooleanisUShort()abstract BooleanisUByte()abstract BooleanisZero()abstract BooleanisNegative()abstract BooleanisPositive()abstract BooleanisNotZero()abstract BooleanisNotNegative()abstract BooleanisNotPositive()abstract BigDecimaltoDecimal()abstract ULongtoULong()abstract UInttoUInt()abstract UShorttoUShort()abstract UBytetoUByte()-
-
Method Detail
-
isIntegral
abstract Boolean isIntegral()
-
isNegative
abstract Boolean isNegative()
-
isPositive
abstract Boolean isPositive()
-
isNotNegative
abstract Boolean isNotNegative()
-
isNotPositive
abstract Boolean isNotPositive()
-
toDecimal
abstract BigDecimal toDecimal()
-
-
-
-