Class Values

    • Field Detail

      • EMPTY_LIST

        public static final List<Value<?>> EMPTY_LIST
        Deprecated.
        The empty value list.
      • EMPTY_TYPE_LIST

        public static final List<? extends Value<Class<?>>> EMPTY_TYPE_LIST
        Deprecated.
        The empty value type list.
    • Method Detail

      • getValues

        public static Object[] getValues​(Iterable<? extends Value<?>> i)
        Deprecated.
        Get an object array from the result of an iterable series of values.
        Parameters:
        i - the iterable series
        Returns:
        the values array
      • getValues

        public 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.
        Parameters:
        i - the iterable series
        clazz - the resultant array type
        Returns:
        the values array
      • getValues

        public 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.
        Parameters:
        i - the iterable series
        array - the array to populate
        Returns:
        the values array
      • nullValue

        public static <T> Value<T> nullValue()
        Deprecated.
        Get the null value.
        Type Parameters:
        T - the value type
        Returns:
        a value which always yields null
      • cached

        public static <T> Value<T> cached​(Value<T> value)
        Deprecated.
        Get a cached value for some opaque value. If the value is already cached, it is returned as-is.
        Type Parameters:
        T - the value type
        Parameters:
        value - the value to wrap
        Returns:
        a cached value
      • emptyList

        public static <T> List<Value<? extends T>> emptyList()
        Deprecated.
        The empty value list.
        Type Parameters:
        T - the value type
        Returns:
        the empty value list
      • immediateValue

        public static <T> Value<T> immediateValue​(T value)
        Deprecated.
        Get an immediate value.
        Type Parameters:
        T - the value type
        Parameters:
        value - the value to return
        Returns:
        the immediate value
      • emptyListValue

        public static <T> Value<List<T>> emptyListValue()
        Deprecated.
        A value which yields the empty list.
        Type Parameters:
        T - the list member type
        Returns:
        the empty list value
      • immediateValues

        public static <T> List<Value<? extends T>> immediateValues​(List<T> values)
        Deprecated.
      • immediateValues

        public static <T> List<Value<? extends T>> immediateValues​(T... values)
        Deprecated.
      • asSuperclass

        public static <T> Value<T> asSuperclass​(Value<? extends T> value)
        Deprecated.
        Safely re-cast a value as its superclass.
        Type Parameters:
        T - the value type
        Parameters:
        value - the value to re-cast
        Returns:
        the value
      • thisValue

        public static ThreadLocalValue<Object> thisValue()
        Deprecated.
        The special value representing this (the object being invoked upon).
        Returns:
        the value for this
      • injectedValue

        public static ThreadLocalValue<Object> injectedValue()
        Deprecated.
        The special value representing the value of an injection operation.
        Returns:
        the target value