org.springframework.cache.support

## 类 NullValue

- java.lang.Object
- - org.springframework.cache.support.NullValue

- 所有已实现的接口:
    Serializable

      public final class NullValue
      extends Object
      implements Serializable

  Simple serializable class that serves as a `null` replacement for cache stores which otherwise do not support `null` values.
  从以下版本开始:
    4.2.2
  作者:
    Juergen Hoeller
  另请参阅:
    `AbstractValueAdaptingCache`, 序列化表格

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `static Object` | `INSTANCE` The canonical representation of a `null` replacement, as used by the default implementation of `AbstractValueAdaptingCache.toStoreValue(java.lang.Object)`/ `AbstractValueAdaptingCache.fromStoreValue(java.lang.Object)`.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### 从类继承的方法 java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### INSTANCE

          public static final Object INSTANCE

      The canonical representation of a `null` replacement, as used by the default implementation of `AbstractValueAdaptingCache.toStoreValue(java.lang.Object)`/ `AbstractValueAdaptingCache.fromStoreValue(java.lang.Object)`.
      从以下版本开始:
        4.3.10

  - ### 方法详细资料

    - #### equals

          public boolean equals(@Nullable
                                Object obj)

      覆盖:
        `equals` 在类中 `Object`

    - #### hashCode

          public int hashCode()

      覆盖:
        `hashCode` 在类中 `Object`

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`