org.objectweb.proactive.core.util.wrapper
Class DoubleMutableWrapper

java.lang.Object
  extended byorg.objectweb.proactive.core.util.wrapper.DoubleMutableWrapper
All Implemented Interfaces:
java.io.Serializable

public class DoubleMutableWrapper
extends java.lang.Object
implements java.io.Serializable

An reifiable object for wrapping the primitive Java type double.

Use this class as result for ProActive asynchronous method calls.

Author:
Alexandre di Costanzo Created on Jul 28, 2005
See Also:
Serialized Form

Constructor Summary
DoubleMutableWrapper()
          The no arguments constructor for ProActive.
DoubleMutableWrapper(double value)
          Construct an reifiable object for a double.
 
Method Summary
 double doubleValue()
          Return the value of the double.
 boolean equals(java.lang.Object arg0)
           
 int hashCode()
           
 void setDoubleValue(double value)
          Set the value with a new one.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleMutableWrapper

public DoubleMutableWrapper()
The no arguments constructor for ProActive.


DoubleMutableWrapper

public DoubleMutableWrapper(double value)
Construct an reifiable object for a double.

Parameters:
value - the primitive double value.
Method Detail

doubleValue

public double doubleValue()
Return the value of the double.

Returns:
the primitive value.

setDoubleValue

public void setDoubleValue(double value)
Set the value with a new one.

Parameters:
value - the new value.

toString

public java.lang.String toString()
See Also:
Object.toString()

equals

public boolean equals(java.lang.Object arg0)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()


Copyright 2001-2005 INRIA All Rights Reserved.