org.springframework.cache.support

## 类 SimpleValueWrapper

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

- 所有已实现的接口:
    Cache.ValueWrapper

      public class SimpleValueWrapper
      extends Object
      implements Cache.ValueWrapper

  Straightforward implementation of `Cache.ValueWrapper`, simply holding the value as given at construction and returning it from `get()`.
  从以下版本开始:
    3.1
  作者:
    Costin Leau

- - ### 构造器概要

    构造器
    构造器和说明
    `SimpleValueWrapper(Object value)` Create a new SimpleValueWrapper instance for exposing the given value.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `get()` Simply returns the value as given at construction time.

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

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

- - ### 构造器详细资料

    - #### SimpleValueWrapper

          public SimpleValueWrapper(@Nullable
                                    Object value)

      Create a new SimpleValueWrapper instance for exposing the given value.
      参数:
        `value` - the value to expose (may be `null`)

  - ### 方法详细资料

    - #### get

          @Nullable
          public Object get()

      Simply returns the value as given at construction time.
      指定者:
        `get` 在接口中 `Cache.ValueWrapper`