|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.lang.ObjectUtils.Null
Class used as a null placeholder where null has another meaning.
For example, in a HashMap
the get(key) method returns null
if the Map contains null or if there is no matching key. The Null
placeholder can be used to distinguish between these two cases.
Another example is HashTable
, where null
cannot be stored.
Constructor Summary | |
private |
ObjectUtils.Null()
Restricted constructor - singleton |
Method Summary | |
private Object |
readResolve()
Ensure singleton. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private ObjectUtils.Null()
Method Detail |
private Object readResolve()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |