| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | _asIntValueUnchecked()
Method for sub-classes to implement; returns the underlying
value as a |
| public abstract long | _asLongValueUnchecked()
Method for sub-classes to implement; returns the underlying
value as a |
| public abstract short | _asShortValueUnchecked()
Method for sub-classes to implement; returns the underlying
value as a |
| protected abstract String | _asString()
Overrides tools. Method sub-classes should override if they can produce |
| protected final String | _valueDesc()
Implements abstract tools. Method for implementation classes to return a short description of contained value, to be used in error messages. |
| public abstract BigInteger | asBigInteger()
Overrides tools. Method similar to
|
| public abstract BigInteger | asBigInteger(BigInteger defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | asBigIntegerOpt()
Overrides tools. Method similar to |
| public abstract BigDecimal | asDecimal()
Overrides tools. Method that will try to access value of this node as a |
| public abstract BigDecimal | asDecimal(BigDecimal defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | asDecimalOpt()
Overrides tools. Method similar to |
| public abstract double | asDouble()
Overrides tools. Method similar to
|
| public abstract double | asDouble(double defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalDouble | asDoubleOpt()
Overrides tools. Method similar to |
| public abstract float | asFloat()
Overrides tools. Method similar to
|
| public abstract float | asFloat(float defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | asFloatOpt()
Overrides tools. Method similar to |
| public abstract int | asInt()
Overrides tools. Method similar to
|
| public abstract int | asInt(int defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalInt | asIntOpt()
Overrides tools. Method similar to |
| public abstract long | asLong()
Overrides tools. Method similar to
|
| public abstract long | asLong(long defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalLong | asLongOpt()
Overrides tools. Method similar to |
| public abstract short | asShort()
Overrides tools. Method similar to
|
| public abstract short | asShort(short defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | asShortOpt()
Overrides tools. Method similar to |
| public abstract BigInteger | bigIntegerValue()
Overrides tools. Method that will try to access value of this node as a |
| public abstract BigInteger | bigIntegerValue(BigInteger defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | bigIntegerValueOpt()
Overrides tools. Method similar to |
| public abstract boolean | canConvertToInt()
Overrides tools. Method that can be used to check whether this node is a numeric
node ( |
| public abstract boolean | canConvertToLong()
Overrides tools. Method that can be used to check whether this node is a numeric
node ( |
| public abstract boolean | canConvertToShort()
Overrides tools. Method that can be used to check whether this node is a numeric
node ( |
| public abstract BigDecimal | decimalValue()
Overrides tools. Method that will try to access value of this node as a Java |
| public abstract BigDecimal | decimalValue(BigDecimal defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | decimalValueOpt()
Overrides tools. Method similar to |
| public NumericNode | deepCopy()
Overrides tools. All current value nodes are immutable, so we can just return them as is. |
| public abstract double | doubleValue()
Overrides tools. Method that will try to access value of this node as a |
| public abstract double | doubleValue(double defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalDouble | doubleValueOpt()
Overrides tools. Method similar to |
| public abstract float | floatValue()
Overrides tools. Method that will try to access value of this node as a Java |
| public abstract float | floatValue(float defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | floatValueOpt()
Overrides tools. Method similar to |
| public final JsonNodeType | getNodeType()
Implements abstract tools. Return the type of this node |
| public abstract boolean | hasFractionalPart()
Convenience method for checking whether this node is a |
| public abstract boolean | inIntRange()
Method that can be used to determine whether this numeric value's in
part fits within Java 32-bit |
| public abstract boolean | inLongRange()
Method that can be used to determine whether this numeric value's in
part fits within Java 64-bit |
| public abstract boolean | inShortRange()
Method that can be used to determine whether this numeric value's in
part fits within Java 16-bit |
| public abstract int | intValue()
Overrides tools. Method that will try to access value of this node as a Java |
| public abstract int | intValue(int defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalInt | intValueOpt()
Overrides tools. Method similar to |
| public abstract boolean | isNaN()
Convenience method for checking whether this node is a
|
| public abstract long | longValue()
Overrides tools. Method that will try to access value of this node as a Java |
| public abstract long | longValue(long defaultValue)
Overrides tools. Method similar to |
| public abstract OptionalLong | longValueOpt()
Overrides tools. Method similar to |
| public abstract JsonParser. | numberType()
Redeclares tools. Overrides tools. Returns code that identifies type of underlying numeric value, if (and only if) node is a number node. |
| public abstract Number | numberValue()
Overrides tools. Method that will try to access value of this node as |
| public abstract short | shortValue()
Overrides tools. Method that will try to access value of this node as 16-bit signed
integer value (Java |
| public abstract short | shortValue(short defaultValue)
Overrides tools. Method similar to |
| public abstract Optional | shortValueOpt()
Overrides tools. Method similar to |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| NumericNode | back to summary |
|---|---|
| protected NumericNode() | |
| _asIntValueUnchecked | back to summary |
|---|---|
| public abstract int _asIntValueUnchecked() Method for sub-classes to implement; returns the underlying
value as a | |
| _asLongValueUnchecked | back to summary |
|---|---|
| public abstract long _asLongValueUnchecked() Method for sub-classes to implement; returns the underlying
value as a | |
| _asShortValueUnchecked | back to summary |
|---|---|
| public abstract short _asShortValueUnchecked() Method for sub-classes to implement; returns the underlying
value as a | |
| _asString | back to summary |
|---|---|
| protected abstract String _asString() Overrides tools. Doc from tools. Method sub-classes should override if they can produce
| |
| _valueDesc | back to summary |
|---|---|
| protected final String _valueDesc() Implements abstract tools. Doc from tools. Method for implementation classes to return a short description of contained value, to be used in error messages.
| |
| asBigInteger | back to summary |
|---|---|
| public abstract BigInteger asBigInteger() Overrides tools. Doc from tools. Method similar to
| |
| asBigInteger | back to summary |
|---|---|
| public abstract BigInteger asBigInteger(BigInteger defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asBigIntegerOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| asDecimal | back to summary |
|---|---|
| public abstract BigDecimal asDecimal() Overrides tools. Doc from tools. Method that will try to access value of this node as a
| |
| asDecimal | back to summary |
|---|---|
| public abstract BigDecimal asDecimal(BigDecimal defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asDecimalOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| asDouble | back to summary |
|---|---|
| public abstract double asDouble() Overrides tools. Doc from tools. Method similar to
| |
| asDouble | back to summary |
|---|---|
| public abstract double asDouble(double defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asDoubleOpt | back to summary |
|---|---|
| public abstract OptionalDouble asDoubleOpt() Overrides tools. Doc from tools. Method similar to
| |
| asFloat | back to summary |
|---|---|
| public abstract float asFloat() Overrides tools. Doc from tools. Method similar to
| |
| asFloat | back to summary |
|---|---|
| public abstract float asFloat(float defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asFloatOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| asInt | back to summary |
|---|---|
| public abstract int asInt() Overrides tools. Doc from tools. Method similar to
| |
| asInt | back to summary |
|---|---|
| public abstract int asInt(int defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asIntOpt | back to summary |
|---|---|
| public abstract OptionalInt asIntOpt() Overrides tools. Doc from tools. Method similar to
| |
| asLong | back to summary |
|---|---|
| public abstract long asLong() Overrides tools. Doc from tools. Method similar to
| |
| asLong | back to summary |
|---|---|
| public abstract long asLong(long defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asLongOpt | back to summary |
|---|---|
| public abstract OptionalLong asLongOpt() Overrides tools. Doc from tools. Method similar to
| |
| asShort | back to summary |
|---|---|
| public abstract short asShort() Overrides tools. Doc from tools. Method similar to
| |
| asShort | back to summary |
|---|---|
| public abstract short asShort(short defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| asShortOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| bigIntegerValue | back to summary |
|---|---|
| public abstract BigInteger bigIntegerValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a
| |
| bigIntegerValue | back to summary |
|---|---|
| public abstract BigInteger bigIntegerValue(BigInteger defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| bigIntegerValueOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| canConvertToInt | back to summary |
|---|---|
| public abstract boolean canConvertToInt() Overrides tools. Doc from tools. Method that can be used to check whether this node is a numeric
node ( Note this method does not consider possible value type conversion
from non-number types like JSON String into Number; so even if this method returns false,
it is possible that
| |
| canConvertToLong | back to summary |
|---|---|
| public abstract boolean canConvertToLong() Overrides tools. Doc from tools. Method that can be used to check whether this node is a numeric
node ( Note this method does not consider possible value type conversion
from non-number types like JSON String into Number; so even if this method returns false,
it is possible that
| |
| canConvertToShort | back to summary |
|---|---|
| public abstract boolean canConvertToShort() Overrides tools. Doc from tools. Method that can be used to check whether this node is a numeric
node ( Note this method does not consider possible value type conversion
from non-number types like JSON String into Number; so even if this method returns false,
it is possible that
| |
| decimalValue | back to summary |
|---|---|
| public abstract BigDecimal decimalValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a Java
Note for more lenient conversions, use
| |
| decimalValue | back to summary |
|---|---|
| public abstract BigDecimal decimalValue(BigDecimal defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| decimalValueOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| deepCopy | back to summary |
|---|---|
| public NumericNode deepCopy() Overrides tools. Doc from tools. All current value nodes are immutable, so we can just return them as is.
| |
| doubleValue | back to summary |
|---|---|
| public abstract double doubleValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a
Note for more lenient conversions, use
| |
| doubleValue | back to summary |
|---|---|
| public abstract double doubleValue(double defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| doubleValueOpt | back to summary |
|---|---|
| public abstract OptionalDouble doubleValueOpt() Overrides tools. Doc from tools. Method similar to
| |
| floatValue | back to summary |
|---|---|
| public abstract float floatValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a Java
| |
| floatValue | back to summary |
|---|---|
| public abstract float floatValue(float defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| floatValueOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |
| getNodeType | back to summary |
|---|---|
| public final JsonNodeType getNodeType() Implements abstract tools. Doc from tools. Return the type of this node
| |
| hasFractionalPart | back to summary |
|---|---|
| public abstract boolean hasFractionalPart() Convenience method for checking whether this node is a | |
| inIntRange | back to summary |
|---|---|
| public abstract boolean inIntRange() Method that can be used to determine whether this numeric value's in
part fits within Java 32-bit | |
| inLongRange | back to summary |
|---|---|
| public abstract boolean inLongRange() Method that can be used to determine whether this numeric value's in
part fits within Java 64-bit | |
| inShortRange | back to summary |
|---|---|
| public abstract boolean inShortRange() Method that can be used to determine whether this numeric value's in
part fits within Java 16-bit | |
| intValue | back to summary |
|---|---|
| public abstract int intValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a Java
Note for more lenient conversions, use
| |
| intValue | back to summary |
|---|---|
| public abstract int intValue(int defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| intValueOpt | back to summary |
|---|---|
| public abstract OptionalInt intValueOpt() Overrides tools. Doc from tools. Method similar to
| |
| isNaN | back to summary |
|---|---|
| public abstract boolean isNaN() Convenience method for checking whether this node is a
| |
| longValue | back to summary |
|---|---|
| public abstract long longValue() Overrides tools. Doc from tools. Method that will try to access value of this node as a Java
Note for more lenient conversions, use
| |
| longValue | back to summary |
|---|---|
| public abstract long longValue(long defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| longValueOpt | back to summary |
|---|---|
| public abstract OptionalLong longValueOpt() Overrides tools. Doc from tools. Method similar to
| |
| numberType | back to summary |
|---|---|
| public abstract JsonParser. Redeclares tools. Overrides tools. Doc from tools. Returns code that identifies type of underlying numeric value, if (and only if) node is a number node.
| |
| numberValue | back to summary |
|---|---|
| public abstract Number numberValue() Overrides tools. Doc from tools. Method that will try to access value of this node as
| |
| shortValue | back to summary |
|---|---|
| public abstract short shortValue() Overrides tools. Doc from tools. Method that will try to access value of this node as 16-bit signed
integer value (Java
| |
| shortValue | back to summary |
|---|---|
| public abstract short shortValue(short defaultValue) Overrides tools. Doc from tools. Method similar to
| |
| shortValueOpt | back to summary |
|---|---|
| public abstract Optional Overrides tools. Doc from tools. Method similar to
| |