com.softwareag.ino.sxs
Class FloatRef

java.lang.Object
  extended by com.softwareag.ino.sxs.FloatRef

public class FloatRef
extends java.lang.Object

Auxiliary class to represent references to float numbers. It is used for float numbers as output parameters.


Constructor Summary
FloatRef()
          Default constructor initializes the FloatRef with 0.
FloatRef(float initVal)
          Constructor to initialize the FloatRef with the given value.
 
Method Summary
 float getVal()
          Gets the current value of the FloatRef.
 void setVal(float newVal)
          Sets the value of the FloatRef to a given value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatRef

public FloatRef()
Default constructor initializes the FloatRef with 0.


FloatRef

public FloatRef(float initVal)
Constructor to initialize the FloatRef with the given value.

Parameters:
initVal - the initial value
Method Detail

getVal

public float getVal()
Gets the current value of the FloatRef.

Returns:
the current value

setVal

public void setVal(float newVal)
Sets the value of the FloatRef to a given value.

Parameters:
newVal - the new value