ObjectUtils.Null (Apache Commons Lang 3.17.0 API)
Description: declaration: package: org.apache.commons.lang3, class: ObjectUtils, class: Null

Package org.apache.commons.lang3

# Class ObjectUtils.Null

java.lang.Object
org.apache.commons.lang3.ObjectUtils.Null

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  ObjectUtils

public static class ObjectUtils.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.

See Also:
  - Serialized Form

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`