| Package | Description |
|---|---|
| org.glassfish.tyrus.core.collection |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LazyValue<T>
Lazily initialized
value. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Value<T> |
Values.eager(Value<T> delegate)
Get a new eagerly initialized
value provider. |
static <T> Value<T> |
Values.empty()
|
static <T> Value<T> |
Values.of(T value)
Get a new constant
value provider whose get()
method always returns the instance supplied to the value parameter. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Value<T> |
Values.eager(Value<T> delegate)
Get a new eagerly initialized
value provider. |
static <T> LazyValue<T> |
Values.lazy(Value<T> delegate)
Get a new lazily initialized
value provider. |
Copyright © 2012–2025 Oracle Corporation. All rights reserved.