| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.struct |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ValueHolder<V> |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Holder<V> |
class |
ThreadLocalHolder<V> |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> Ref<T> |
Refs.emptyRef()
Construct a new empty mutable
Ref instance. |
static <T> Ref<T> |
Refs.immutableRef(T value)
Construct a new immutable
Ref instance referencing the given
input value. |
static <T> Ref<T> |
Refs.of(T value)
Construct a new mutable
Ref instance referencing the given
input value. |
static <T> Ref<T> |
Refs.threadSafe()
Construct a new empty mutable thread-safe
Ref instance. |
static <T> Ref<T> |
Refs.threadSafe(T value)
Construct a new mutable thread-safe
Ref instance referencing the given
input value. |
Copyright © 2022. All rights reserved.