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

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

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

IntMutableWrapper

public IntMutableWrapper()
The no arguments constructor for ProActive.


IntMutableWrapper

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

setIntValue

public void setIntValue(int 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.