|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.ino.sxs.DoubleRef
public class DoubleRef
Auxiliary class to represent references to double numbers. It is used for doubles as output parameters.
Constructor Summary | |
---|---|
DoubleRef()
Default constructor initializes the DoubleRef with 0. |
|
DoubleRef(double initVal)
Constructor to initialize the DoubleRef with the given value. |
Method Summary | |
---|---|
double |
getVal()
Gets the current value of the DoubleRef . |
void |
setVal(double newVal)
Sets the value of the DoubleRef to a given value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleRef()
DoubleRef
with 0.
public DoubleRef(double initVal)
DoubleRef
with the given value.
initVal
- the initial valueMethod Detail |
---|
public double getVal()
DoubleRef
.
public void setVal(double newVal)
DoubleRef
to a given value.
newVal
- the new value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |