public static class Box.Nullable.Default<T> extends Object implements Box.Nullable<T>
Box.Nullable.Default<T>
Modifier and Type | Field and Description |
---|---|
protected T |
obj
The (possibly-null) object being held.
|
Modifier and Type | Method and Description |
---|---|
T |
get() |
void |
set(T obj)
Sets the value which will later be returned by get().
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected volatile T obj
protected Default(T init)
public void set(T obj)
Box.Nullable
set
in interface Box.Nullable<T>