Package gw.util
Class GosuObjectUtil.Null
- java.lang.Object
-
- gw.util.GosuObjectUtil.Null
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GosuObjectUtil
public static class GosuObjectUtil.Null extends Object implements Serializable
Class used as a null placeholder where
null
has another meaning.For example, in a
HashMap
theHashMap.get(java.lang.Object)
method returnsnull
if theMap
containsnull
or if there is no matching key. TheNull
placeholder can be used to distinguish between these two cases.Another example is
Hashtable
, wherenull
cannot be stored.- See Also:
- Serialized Form