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

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

public class DoubleWrapper
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
DoubleWrapper()
          The no arguments constructor for ProActive.
DoubleWrapper(double value)
          Construct an reifiable object for a double.
 
Method Summary
 double doubleValue()
          Return the value of the double.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleWrapper

public DoubleWrapper()
The no arguments constructor for ProActive.


DoubleWrapper

public DoubleWrapper(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.

toString

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


Copyright 2001-2005 INRIA All Rights Reserved.