-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.json.JsonValue
javax.json.JsonValue.ValueType
-
Field Summary
-
Fields inherited from interface javax.json.JsonValue
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
-
Constructor Summary
Constructors
Constructor and Description |
JsonLongImpl(long value) |
-
Method Summary
-
Methods inherited from interface javax.json.JsonValue
asJsonArray, asJsonObject
-
-
Field Detail
-
value
private final long value
-
Constructor Detail
-
JsonLongImpl
JsonLongImpl(long value)
-
Method Detail
-
intValue
public int intValue()
- Specified by:
intValue
in interface javax.json.JsonNumber
-
longValue
public long longValue()
- Specified by:
longValue
in interface javax.json.JsonNumber
-
toString
public String toString()
- Specified by:
toString
in interface javax.json.JsonNumber
- Specified by:
toString
in interface javax.json.JsonValue
- Overrides:
toString
in class Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.json.JsonNumber
- Overrides:
hashCode
in class Object
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.