public static enum JsonParser.NumberTypeFP extends Enum<JsonParser.NumberTypeFP>
UNKNOWN
is used).Enum Constant and Description |
---|
BIG_DECIMAL
Unlimited precision, decimal (10-based) values
|
DOUBLE64
Standard IEEE-754 double-precision 64-bit binary value
|
FLOAT16
Special "mini-float" that some binary formats support.
|
FLOAT32
Standard IEEE-754 single-precision 32-bit binary value
|
UNKNOWN
Constant used when type is not known, or there is no specific
type to match: most commonly used for textual formats like JSON
where representation does not necessarily have single easily detectable
optimal representation (for example, value
0.1 has no
exact binary representation whereas 0.25 has exact representation
in every binary type supported) |
Modifier and Type | Method and Description |
---|---|
static JsonParser.NumberTypeFP |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.NumberTypeFP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParser.NumberTypeFP FLOAT16
public static final JsonParser.NumberTypeFP FLOAT32
public static final JsonParser.NumberTypeFP DOUBLE64
public static final JsonParser.NumberTypeFP BIG_DECIMAL
public static final JsonParser.NumberTypeFP UNKNOWN
0.1
has no
exact binary representation whereas 0.25
has exact representation
in every binary type supported)public static JsonParser.NumberTypeFP[] values()
for (JsonParser.NumberTypeFP c : JsonParser.NumberTypeFP.values()) System.out.println(c);
public static JsonParser.NumberTypeFP valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2008–2024 FasterXML. All rights reserved.