Constructor and Description |
---|
ValueProvider(T value)
Construct.
|
Modifier and Type | Method and Description |
---|---|
T |
get() |
static <T> ValueProvider<T> |
of(T value)
Creates a provider for the specified value
|
public ValueProvider(T value)
value
- value to providepublic static <T> ValueProvider<T> of(T value)
T
- type of valuevalue
- valueCopyright © 2006–2022 Apache Software Foundation. All rights reserved.