public static class Box.Int.Default extends Object implements Box.Int
Box.Int.Default
Modifier and Type | Field and Description |
---|---|
protected int |
obj
The (possibly-null) object being held.
|
Modifier | Constructor and Description |
---|---|
protected |
Default(int init) |
Modifier and Type | Method and Description |
---|---|
int |
get()
Returns the boxed value.
|
void |
set(int obj)
Sets the value which will later be returned by get().
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen