|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.util.DoubleHolder
public class DoubleHolder
Wrapper class which ``holds'' a double value, enabling methods to return double values through arguments.
Field Summary | |
---|---|
double |
value
Value of the double, set and examined by the application as needed. |
Constructor Summary | |
---|---|
DoubleHolder()
Constructs a new DoubleHolder with an initial value of 0. |
|
DoubleHolder(double d)
Constructs a new DoubleHolder with a specific initial
value. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double value
Constructor Detail |
---|
public DoubleHolder()
DoubleHolder
with an initial value of 0.
public DoubleHolder(double d)
DoubleHolder
with a specific initial
value.
d
- Initial double value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |