T - the value typepublic final class ConstructedValue<T> extends java.lang.Object implements Value<T>
getValue() will create a new instance,
so if the same instance should be returned, this should be used in conjunction with CachedValue.| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Constructor<T> |
constructor |
private java.util.List<? extends Value<?>> |
parameters |
| Constructor and Description |
|---|
ConstructedValue(java.lang.reflect.Constructor<T> constructor,
java.util.List<? extends Value<?>> parameters)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Get the actual value.
|