Class ManObjectUtil.Null

java.lang.Object
manifold.rt.api.util.ManObjectUtil.Null
All Implemented Interfaces:
Serializable
Enclosing class:
ManObjectUtil

public static class ManObjectUtil.Null extends Object implements Serializable

Class used as a null placeholder where null has another meaning.

For example, in a HashMap the HashMap.get(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.

Author:
Nissim Karpenstein, Janek Bogucki, Daniel L. Rall, Stephen Colebourne, Gary Gregory, Mario Winterer David J. M. Karlsen
See Also: