|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.json.JSONNull
public final class JSONNull
JSONNull is equivalent to the value that JavaScript calls null, whilst Java's null is equivalent to the value that JavaScript calls undefined.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
A Null object is equal to the null value and to itself. |
static JSONNull |
getInstance()
Returns the singleton instance of JSONNull |
int |
hashCode()
|
boolean |
isArray()
|
java.lang.String |
toString()
Get the "null" string value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static JSONNull getInstance()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- An object to test for nullness.
public int hashCode()
hashCode
in class java.lang.Object
public boolean isArray()
isArray
in interface JSON
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |