Package gw.util
Class GosuObjectUtil.Null
java.lang.Object
gw.util.GosuObjectUtil.Null
- All Implemented Interfaces:
Serializable
- Enclosing class:
- GosuObjectUtil
Class used as a null placeholder where null
has another meaning.
For example, in a HashMap
the
HashMap.get(java.lang.Object)
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Required for serialization support. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDRequired for serialization support. Declare serialization compatibility with Commons Lang 1.0- See Also:
-
-
Constructor Details
-
Null
Null()Restricted constructor - singleton.
-
-
Method Details
-
readResolve
Ensure singleton.
- Returns:
- the singleton value
-