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

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

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

Constructor Detail

LongWrapper

public LongWrapper()
The no arguments constructor for ProActive.


LongWrapper

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

toString

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


Copyright 2001-2005 INRIA All Rights Reserved.