|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.pojo.util.Null
public final class Null
Represent null values (based on org.jboss.util.Null)
Method Summary | |
---|---|
boolean |
equals(Object obj)
Check if the given object is a Null instance or null. |
int |
hashCode()
Hashcode of unknown (null) value will be zero. |
static Object |
toNullKeyObject(Object aObject)
Represents null key as a special string value. |
static Object |
toNullKeyValue(Object aObject)
Converts Null string representation back to null value. |
static Object |
toNullObject(Object aObject)
Represents null as a special Null object marker. |
static Object |
toNullValue(Object aObject)
If the passed object represents null (instance of Null.NULL_OBJECT_MARKER), will replace with null value. |
String |
toString()
Return a string representation of null value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static final Object toNullObject(Object aObject)
aObject
-
public static final Object toNullKeyObject(Object aObject)
aObject
-
public static final Object toNullValue(Object aObject)
aObject
-
public static final Object toNullKeyValue(Object aObject)
aObject
-
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 |