public interface ValueProvider<C,T>
Modifier and Type | Method and Description |
---|---|
static <C,T> ValueProvider<C,T> |
constant(T value) |
java.util.Optional<T> |
value(C context)
Compute the value from the context.
|
static <C,T> ValueProvider<C,T> constant(@Nullable T value)