org.objectweb.telosys.common.val
Class DoubleValue

java.lang.Object
  extended byorg.objectweb.telosys.common.val.DoubleValue
All Implemented Interfaces:
ISingleValue, java.io.Serializable

public class DoubleValue
extends java.lang.Object
implements ISingleValue

This class wraps a value of the primitive type 'double' in an object. The current value can be changed with the 'setValue' method.

See Also:
Serialized Form

Constructor Summary
DoubleValue()
          Default constructor, the initial value is '0.0'.
DoubleValue(double v)
          Constructor with initial value
 
Method Summary
 double getValue()
           
 void setValue(double v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleValue

public DoubleValue()
Default constructor, the initial value is '0.0'.


DoubleValue

public DoubleValue(double v)
Constructor with initial value

Parameters:
v - initial value
Method Detail

setValue

public void setValue(double v)

getValue

public double getValue()

toString

public java.lang.String toString()