T
- the type of the valuepublic static class ERXLazyValue.ConstantSource<T> extends Object implements ERXLazyValue.Source<T>
Constructor and Description |
---|
ConstantSource(T value)
Constructs a ConstantSource with a fixed value.
|
Modifier and Type | Method and Description |
---|---|
void |
setValue(T value)
Sets a new fixed value.
|
String |
toString() |
T |
value()
Returns the fixed value.
|
public ConstantSource(T value)
value
- the valuepublic T value()
value
in interface ERXLazyValue.Source<T>
public void setValue(T value)
setValue
in interface ERXLazyValue.Source<T>
value
- the new valueCopyright © 2002 – 2024 Project Wonder.