public abstract class JsNumber extends JsPrimitive
This class is part of a hierarchy and permits specific subclasses for different numeric JSON types.
Constructor and Description |
---|
JsNumber() |
Modifier and Type | Method and Description |
---|---|
boolean |
isNumber()
Indicates whether this JSON number is of numeric type.
|
JsPrimitive |
toJsPrimitive()
Returns this JsValue as a JsPrimitive.
|
isJson, isPrimitive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ifNothing, ifNull, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBinary, isBool, isDecimal, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isLong, isLong, isNothing, isNotNothing, isNotNull, isNotNumber, isNull, isObj, isObj, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsStr
public JsPrimitive toJsPrimitive()
JsValue
public boolean isNumber()
Copyright © 2023. All rights reserved.