java.lang.Object
org.apache.jena.atlas.json.JsonValue
org.apache.jena.atlas.json.JsonPrimitive
org.apache.jena.atlas.json.JsonNumber
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isNumber()
value()
static JsonNumber
value
(double number) static JsonNumber
value
(long number) static JsonNumber
value
(BigDecimal number) static JsonNumber
valueDecimal
(String image) static JsonNumber
valueDouble
(String image) static JsonNumber
valueInteger
(String image) void
visit
(JsonVisitor visitor) Methods inherited from class org.apache.jena.atlas.json.JsonValue
getAsArray, getAsBoolean, getAsObject, getAsString, isArray, isBoolean, isNull, isObject, isPrimitive, isString, output, toString
-
Method Details
-
valueDecimal
-
valueDouble
-
valueInteger
-
value
-
value
-
value
-
isNumber
public boolean isNumber() -
getAsNumber
- Overrides:
getAsNumber
in classJsonValue
-
value
-
visit
-
hashCode
public int hashCode() -
equals
-