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