public static class Integer.Holder
extends java.lang.Object
Integer
.Constructor and Description |
---|
Holder()
Create a holder class with an empty holdee object.
|
Holder(int obj)
Create a holder with the specified object.
|
Modifier and Type | Method and Description |
---|---|
int |
get()
Get the value of the holdee object.
|
void |
set(int obj)
Set the value of the holdee object.
|