protected static final class JSONObject.Null extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Null() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone()
There is only intended to be a single instance of the NULL object,
so the clone method returns itself.
|
boolean |
equals(java.lang.Object object)
A Null object is equal to the null value and to itself.
|
int |
hashCode() |
java.lang.String |
toString()
Get the "null" string value.
|
protected Null()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - an object to test for nullnesspublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.Object clone()
clone in class java.lang.Object