| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract BigInteger | _asBigIntegerValueUnchecked()
Method for sub-classes to implement; returns the underlying
value as a |
| protected abstract BigDecimal | _asDecimalValueUnchecked()
Method for sub-classes to implement; returns the underlying
value as a |
| public final BigInteger | asBigInteger()
Implements abstract tools. Method similar to
|
| public final BigInteger | asBigInteger(BigInteger defaultValue)
Implements abstract tools. Method similar to |
| public final 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 int | asInt()
Implements abstract tools. Method similar to
|
| public int | asInt(int defaultValue)
Implements abstract tools. Method similar to |
| public OptionalInt | asIntOpt()
Implements abstract tools. Method similar to |
| public final long | asLong()
Implements abstract tools. Method similar to
|
| public final long | asLong(long defaultValue)
Implements abstract tools. Method similar to |
| public final OptionalLong | asLongOpt()
Implements abstract tools. Method similar to |
| public short | asShort()
Implements abstract tools. Method similar to
|
| public short | asShort(short defaultValue)
Implements abstract tools. Method similar to |
| public Optional | asShortOpt()
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 final BigInteger | bigIntegerValue()
Implements abstract tools. Method that will try to access value of this node as a |
| public final BigInteger | bigIntegerValue(BigInteger defaultValue)
Implements abstract tools. Method similar to |
| public final Optional | bigIntegerValueOpt()
Implements abstract tools. Method similar to |
| public final boolean | canConvertToExactIntegral()
Overrides tools. Method that can be used to check whether contained value
is numeric (returns true for |
| 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()
Implements abstract tools. Method that will try to access value of this node as a Java |
| public BigDecimal | decimalValue(BigDecimal defaultValue)
Implements abstract tools. Method similar to |
| public Optional | decimalValueOpt()
Implements abstract tools. Method similar to |
| public final int | intValue()
Implements abstract tools. Method that will try to access value of this node as a Java |
| public final int | intValue(int defaultValue)
Implements abstract tools. Method similar to |
| public final OptionalInt | intValueOpt()
Implements abstract tools. Method similar to |
| public final boolean | |
| public final long | longValue()
Implements abstract tools. Method that will try to access value of this node as a Java |
| public final long | longValue(long defaultValue)
Implements abstract tools. Method similar to |
| public final OptionalLong | longValueOpt()
Implements abstract tools. Method similar to |
| public final short | shortValue()
Implements abstract tools. Method that will try to access value of this node as 16-bit signed
integer value (Java |
| public final short | shortValue(short defaultValue)
Implements abstract tools. Method similar to |
| public final Optional | shortValueOpt()
Implements abstract tools. Method similar to |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides tools. | |
| NumericFPNode | back to summary |
|---|---|
| public NumericFPNode() | |
| _asBigIntegerValueUnchecked | back to summary |
|---|---|
| protected abstract BigInteger _asBigIntegerValueUnchecked() Method for sub-classes to implement; returns the underlying
value as a | |
| _asDecimalValueUnchecked | back to summary |
|---|---|
| protected abstract BigDecimal _asDecimalValueUnchecked() Method for sub-classes to implement; returns the underlying
value as a | |
| asBigInteger | back to summary |
|---|---|
| public final BigInteger asBigInteger() Implements abstract tools. Doc from tools. Method similar to
| |
| asBigInteger | back to summary |
|---|---|
| public final BigInteger asBigInteger(BigInteger defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asBigIntegerOpt | back to summary |
|---|---|
| public final 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
| |
| asInt | back to summary |
|---|---|
| public int asInt() Implements abstract tools. Doc from tools. Method similar to
| |
| asInt | back to summary |
|---|---|
| public int asInt(int defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asIntOpt | back to summary |
|---|---|
| public OptionalInt asIntOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| asLong | back to summary |
|---|---|
| public final long asLong() Implements abstract tools. Doc from tools. Method similar to
| |
| asLong | back to summary |
|---|---|
| public final long asLong(long defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asLongOpt | back to summary |
|---|---|
| public final OptionalLong asLongOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| asShort | back to summary |
|---|---|
| public short asShort() Implements abstract tools. Doc from tools. Method similar to
| |
| asShort | back to summary |
|---|---|
| public short asShort(short defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| asShortOpt | 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 final 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 final BigInteger bigIntegerValue(BigInteger defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| bigIntegerValueOpt | back to summary |
|---|---|
| public final Optional Implements abstract tools. Doc from tools. Method similar to
| |
| canConvertToExactIntegral | back to summary |
|---|---|
| public final boolean canConvertToExactIntegral() Overrides tools. Doc from tools. Method that can be used to check whether contained value
is numeric (returns true for
| |
| 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() Implements abstract 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 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
| |
| intValue | back to summary |
|---|---|
| public final int intValue() Implements abstract 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 final int intValue(int defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| intValueOpt | back to summary |
|---|---|
| public final OptionalInt intValueOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| isFloatingPointNumber | back to summary |
|---|---|
| public final boolean isFloatingPointNumber() Overrides tools.
| |
| longValue | back to summary |
|---|---|
| public final long longValue() Implements abstract 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 final long longValue(long defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| longValueOpt | back to summary |
|---|---|
| public final OptionalLong longValueOpt() Implements abstract tools. Doc from tools. Method similar to
| |
| shortValue | back to summary |
|---|---|
| public final short shortValue() Implements abstract 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 final short shortValue(short defaultValue) Implements abstract tools. Doc from tools. Method similar to
| |
| shortValueOpt | back to summary |
|---|---|
| public final Optional Implements abstract tools. Doc from tools. Method similar to
| |