mascoptDev.utils
Class MutableDouble

java.lang.Object
  |
  +--mascoptDev.utils.MutableDouble

public class MutableDouble
extends Object

Author:
fabrice.peix@sophia.inria.fr

Constructor Summary
MutableDouble(double d)
          Constructor
MutableDouble(Double D)
          Constructor
MutableDouble(MutableDouble c)
          Constructor
 
Method Summary
 double doubleValue()
          Return the value of a MutableDouble
 MutableDouble setValue(double d)
          Change the value of the MutableDouble
 MutableDouble setValue(Double D)
          Change the value of the MutableDouble
 MutableDouble setValue(MutableDouble c)
          Change the value of the MutableDouble
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableDouble

public MutableDouble(MutableDouble c)
Constructor

Parameters:
c - Build un MutableDouble with the value of c

MutableDouble

public MutableDouble(double d)
Constructor

Parameters:
d - The value of the MutableDouble

MutableDouble

public MutableDouble(Double D)
Constructor

Parameters:
D - The value of the MutableDouble
Method Detail

doubleValue

public double doubleValue()
Return the value of a MutableDouble

Returns:
The value of the MutableDouble

setValue

public MutableDouble setValue(double d)
Change the value of the MutableDouble

Parameters:
d - The new value of the Mutable Double
Returns:
The moified object

setValue

public MutableDouble setValue(MutableDouble c)
Change the value of the MutableDouble

Parameters:
c - The new value of the Mutable Double
Returns:
The moified object

setValue

public MutableDouble setValue(Double D)
Change the value of the MutableDouble

Parameters:
D - The new value of the Mutable Double
Returns:
The moified object