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

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

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

An reifiable object for wrapping the primitive Java type float.

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
FloatMutableWrapper()
          The no arguments constructor for ProActive.
FloatMutableWrapper(float value)
          Construct an reifiable object for a float.
 
Method Summary
 boolean equals(java.lang.Object arg0)
           
 float floatValue()
          Return the value of the float.
 int hashCode()
           
 void setFloatValue(float 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

FloatMutableWrapper

public FloatMutableWrapper()
The no arguments constructor for ProActive.


FloatMutableWrapper

public FloatMutableWrapper(float value)
Construct an reifiable object for a float.

Parameters:
value - the primitive float value.
Method Detail

floatValue

public float floatValue()
Return the value of the float.

Returns:
the primitive value.

setFloatValue

public void setFloatValue(float 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.