| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract double | |
| protected abstract float | |
| public BigInteger | asBigInteger()
Implements abstract tools. Method similar to
|
| public BigInteger | asBigInteger(BigInteger defaultValue)
Implements abstract tools. Method similar to |
| public Optional | asBigIntegerOpt()
Implements abstract tools. Method similar to |
| public BigDecimal | asDecimal()
Implements abstract tools. Method that will try to access value of this node as a |
| public BigDecimal | asDecimal(BigDecimal defaultValue)
Implements abstract tools. Method similar to |
| public Optional | asDecimalOpt()
Implements abstract tools. Method similar to |
| public double | asDouble()
Implements abstract tools. Method similar to
|
| public double | asDouble(double defaultValue)
Implements abstract tools. Method similar to |
| public OptionalDouble | asDoubleOpt()
Implements abstract tools. Method similar to |
| public float | asFloat()
Implements abstract tools. Method similar to
|
| public float | asFloat(float defaultValue)
Implements abstract tools. Method similar to |
| public Optional | asFloatOpt()
Implements abstract tools. Method similar to |
| public final JsonToken | asToken()
Implements abstract tools. Implements tools. Method that can be used for efficient type detection when using stream abstraction for traversing nodes. |
| public abstract BigInteger | bigIntegerValue()
Implements abstract tools. Method that will try to access value of this node as a |
| public BigInteger | bigIntegerValue(BigInteger defaultValue)
Implements abstract tools. Method similar to |
| public Optional | bigIntegerValueOpt()
Implements abstract tools. Method similar to |
| public final boolean | canConvertToInt()
Implements abstract tools. Method that can be used to check whether this node is a numeric
node ( |
| public final boolean | canConvertToLong()
Implements abstract tools. Method that can be used to check whether this node is a numeric
node ( |
| public final boolean | canConvertToShort()
Implements abstract tools. Method that can be used to check whether this node is a numeric
node ( |
| public BigDecimal | decimalValue(BigDecimal defaultValue)
Implements abstract tools. Method similar to |
| public Optional | decimalValueOpt()
Implements abstract tools. Method similar to |
| public double | doubleValue()
Implements abstract tools. Method that will try to access value of this node as a |
| public double | doubleValue(double defaultValue)
Implements abstract tools. Method similar to |
| public OptionalDouble | doubleValueOpt()
Implements abstract tools. Method similar to |
| public float | floatValue()
Implements abstract tools. Method that will try to access value of this node as a Java |
| public float | floatValue(float defaultValue)
Implements abstract tools. Method similar to |
| public Optional | floatValueOpt()
Implements abstract tools. Method similar to |
| public boolean | hasFractionalPart()
Implements abstract tools. Convenience method for checking whether this node is a |
| public final boolean | |
| public final boolean | isNaN()
Implements abstract tools. Convenience method for checking whether this node is a
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| NumericIntNode | back to summary |
|---|---|
| public NumericIntNode() | |
| _asDoubleValueUnchecked | back to summary |
|---|---|
| protected abstract double _asDoubleValueUnchecked() | |
| _asFloatValueUnchecked | back to summary |
|---|---|
| protected abstract float _asFloatValueUnchecked() | |
| asBigInteger | back to summary |
|---|---|
| public BigInteger asBigInteger() Implements abstract tools. Doc from tools. Method similar to
| |
| asBigInteger | back to summary |
|---|---|
| public BigInteger asBigInteger(BigInteger defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asBigIntegerOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| asDecimal | back to summary |
|---|---|
| public BigDecimal asDecimal() Implements abstract tools. Doc from tools. Method that will try to access value of this node as a
| |
| asDecimal | back to summary |
|---|---|
| public BigDecimal asDecimal(BigDecimal defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asDecimalOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| asDouble | back to summary |
|---|---|
| public double asDouble() Implements abstract tools. Doc from tools. Method similar to
| |
| asDouble | back to summary |
|---|---|
| public double asDouble(double defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asDoubleOpt | back to summary |
|---|---|
| public OptionalDouble asDoubleOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| asFloat | back to summary |
|---|---|
| public float asFloat() Implements abstract tools. Doc from tools. Method similar to
| |
| asFloat | back to summary |
|---|---|
| public float asFloat(float defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asFloatOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| asToken | back to summary |
|---|---|
| public final JsonToken asToken() Implements abstract tools. Implements tools. Doc from tools. Method that can be used for efficient type detection
when using stream abstraction for traversing nodes.
Will return the first
| |
| bigIntegerValue | back to summary |
|---|---|
| public abstract BigInteger bigIntegerValue() Implements abstract tools. Doc from tools. Method that will try to access value of this node as a
| |
| bigIntegerValue | back to summary |
|---|---|
| public BigInteger bigIntegerValue(BigInteger defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| bigIntegerValueOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| canConvertToInt | back to summary |
|---|---|
| public final boolean canConvertToInt() Implements abstract 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 final boolean canConvertToLong() Implements abstract 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 final boolean canConvertToShort() Implements abstract 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 BigDecimal decimalValue(BigDecimal defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| decimalValueOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements abstract 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 double doubleValue(double defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| doubleValueOpt | back to summary |
|---|---|
| public OptionalDouble doubleValueOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements abstract tools. Doc from tools. Method that will try to access value of this node as a Java
| |
| floatValue | back to summary |
|---|---|
| public float floatValue(float defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| floatValueOpt | back to summary |
|---|---|
| public Optional Implements abstract tools. Doc from tools. Method similar to
| |
| hasFractionalPart | back to summary |
|---|---|
| public boolean hasFractionalPart() Implements abstract tools. Doc from tools. Convenience method for checking whether this node is a
| |
| isIntegralNumber | back to summary |
|---|---|
| public final boolean isIntegralNumber() Overrides tools.
| |
| isNaN | back to summary |
|---|---|
| public final boolean isNaN() Implements abstract tools. Doc from tools. Convenience method for checking whether this node is a
| |