|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.Null
public final class Null
A class that represents null.
VALUE
is used to given an object variable a dual-mode
nullified value, where null would indicate that the value is
empty, and VALUE
would idicate that the value has been
set to null (or something to that effect).
Field Summary | |
---|---|
static Null |
VALUE
The primary instance of Null. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check if the given object is a Null instance or null. |
int |
hashCode()
Returns zero. |
String |
toString()
Return a string representation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Null VALUE
Method Detail |
---|
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- Object to test.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |