|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gson.JsonElement com.google.gson.JsonNull
public final class JsonNull
A class representing a Json null
value.
Field Summary | |
---|---|
static JsonNull |
INSTANCE
singleton for JsonNull |
Constructor Summary | |
---|---|
JsonNull()
Deprecated. |
Method Summary | |
---|---|
boolean |
equals(Object other)
All instances of JsonNull are the same |
int |
hashCode()
All instances of JsonNull have the same hash code since they are indistinguishable |
Methods inherited from class com.google.gson.JsonElement |
---|
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInt, getAsJsonArray, getAsJsonNull, getAsJsonObject, getAsJsonPrimitive, getAsLong, getAsNumber, getAsShort, getAsString, isJsonArray, isJsonNull, isJsonObject, isJsonPrimitive, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final JsonNull INSTANCE
Constructor Detail |
---|
@Deprecated public JsonNull()
INSTANCE
instead
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |