T - The inner type.public class SetOnce<T>
extends java.lang.Object
| Constructor and Description |
|---|
SetOnce(T defaultValue)
Creates a wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Gets the inner object.
|
void |
set(T value)
Sets the inner object.
|