|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.json.JSONObject.Null
protected static final class JSONObject.Null
JSONObject.NULL is equivalent to the value that JavaScript calls null, whilst Java's null is equivalent to the value that JavaScript calls undefined.
| Constructor Summary | |
|---|---|
protected |
JSONObject.Null()
|
| Method Summary | |
|---|---|
protected Object |
clone()
There is only intended to be a single instance of the NULL object, so the clone method returns itself. |
boolean |
equals(Object object)
A Null object is equal to the null value and to itself. |
int |
hashCode()
|
String |
toString()
Get the "null" string value. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected JSONObject.Null()
| Method Detail |
|---|
public boolean equals(Object object)
equals in class Objectobject - an object to test for nullness
public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class Objectprotected Object clone()
clone in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||