com.cohort.util
Class DoubleObject

java.lang.Object
  extended by com.cohort.util.DoubleObject

public class DoubleObject
extends java.lang.Object

This class holds a double that can be changed.


Field Summary
 double d
           
 
Constructor Summary
DoubleObject(double initialValue)
          The constructor.
 
Method Summary
 java.lang.String toString()
          Returns the string representation of the double.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

d

public double d
Constructor Detail

DoubleObject

public DoubleObject(double initialValue)
The constructor.

Parameters:
initialValue - the initial value of d.
Method Detail

toString

public java.lang.String toString()
Returns the string representation of the double.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the double.