Constructor and Description |
---|
ValueProvider(T value)
Construct.
|
Modifier and Type | Method and Description |
---|---|
T |
get()
Provides an instance of type
T |
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–2021 Apache Software Foundation. All rights reserved.