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

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

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

An reifiable object for wrapping the primitive Java type int.

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

Constructor Detail

IntWrapper

public IntWrapper()
The no arguments constructor for ProActive.


IntWrapper

public IntWrapper(int value)
Construct an reifiable object for a int.

Parameters:
value - the primitive int value.
Method Detail

intValue

public int intValue()
Return the value of the int.

Returns:
the primitive value.

toString

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


Copyright 2001-2005 INRIA All Rights Reserved.