| Package | Description |
|---|---|
| org.glassfish.jersey.internal.util.collection |
Common set of Jersey collection classes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LazyValue<T>
Lazily initialized
value. |
interface |
Ref<T>
A possibly mutable value reference.
|
| 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 © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.