ObjectUtils.Null
- public static class org.apache.commons.lang3.ObjectUtils.Null implements Serializable[source]
Class used as a null placeholder where
nullhas another meaning.For example, in a
HashMapthejava.util.HashMap#get(Object)method returnsnullif theMapcontainsnullor if there is no matching key. Thenullplaceholder can be used to distinguish between these two cases.Another example is
Hashtable, wherenullcannot be stored.