ServiceBuilder.requires(org.jboss.msc.service.ServiceName)
method instead. This class will be removed in a future release.@Deprecated public final class Values extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<Value<?>> |
EMPTY_LIST
Deprecated.
The empty value list.
|
static List<? extends Value<Class<?>>> |
EMPTY_TYPE_LIST
Deprecated.
The empty value type list.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Value<T> |
asSuperclass(Value<? extends T> value)
Deprecated.
Safely re-cast a value as its superclass.
|
static <T> Value<T> |
cached(Value<T> value)
Deprecated.
Get a cached value for some opaque value.
|
static <T> List<Value<? extends T>> |
emptyList()
Deprecated.
The empty value list.
|
static <T> Value<List<T>> |
emptyListValue()
Deprecated.
A value which yields the empty list.
|
static Object[] |
getValues(Iterable<? extends Value<?>> i)
Deprecated.
Get an object array from the result of an iterable series of values.
|
static <T> T[] |
getValues(Iterable<? extends Value<? extends T>> i,
Class<T> clazz)
Deprecated.
Get a typed object array from the result of an iterable series of values.
|
static <T> T[] |
getValues(Iterable<? extends Value<? extends T>> i,
T[] array)
Deprecated.
Get a typed object array from the result of an iterable series of values.
|
static <T> Value<T> |
immediateValue(T value)
Deprecated.
Get an immediate value.
|
static <T> List<Value<? extends T>> |
immediateValues(List<T> values)
Deprecated.
|
static <T> List<Value<? extends T>> |
immediateValues(T... values)
Deprecated.
|
static ThreadLocalValue<Object> |
injectedValue()
Deprecated.
The special value representing the value of an injection operation.
|
static <T> Value<T> |
nullValue()
Deprecated.
Get the null value.
|
static ThreadLocalValue<Object> |
thisValue()
Deprecated.
The special value representing
this (the object being invoked upon). |
public static Object[] getValues(Iterable<? extends Value<?>> i)
i - the iterable seriespublic static <T> T[] getValues(Iterable<? extends Value<? extends T>> i, Class<T> clazz)
i - the iterable seriesclazz - the resultant array typepublic static <T> T[] getValues(Iterable<? extends Value<? extends T>> i, T[] array)
i - the iterable seriesarray - the array to populatepublic static <T> Value<T> nullValue()
T - the value typenullpublic static <T> Value<T> cached(Value<T> value)
T - the value typevalue - the value to wrappublic static <T> List<Value<? extends T>> emptyList()
T - the value typepublic static <T> Value<T> immediateValue(T value)
T - the value typevalue - the value to returnpublic static <T> Value<List<T>> emptyListValue()
T - the list member typepublic static <T> List<Value<? extends T>> immediateValues(List<T> values)
public static <T> Value<T> asSuperclass(Value<? extends T> value)
T - the value typevalue - the value to re-castpublic static ThreadLocalValue<Object> thisValue()
this (the object being invoked upon).thispublic static ThreadLocalValue<Object> injectedValue()
Copyright © 2018 JBoss by Red Hat. All rights reserved.