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

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

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

An reifiable object for wrapping the primitive Java type long.

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

LongMutableWrapper

public LongMutableWrapper()
The no arguments constructor for ProActive.


LongMutableWrapper

public LongMutableWrapper(long value)
Construct an reifiable object for a long.

Parameters:
value - the primitive long value.
Method Detail

longValue

public long longValue()
Return the value of the long.

Returns:
the primitive value.

setLongValue

public void setLongValue(long 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.