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

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

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

An reifiable object for wrapping the primitive Java type boolean.

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

BooleanMutableWrapper

public BooleanMutableWrapper()
The no arguments constructor for ProActive.


BooleanMutableWrapper

public BooleanMutableWrapper(boolean value)
Construct an reifiable object for a boolean.

Parameters:
value - the primitive boolean value.
Method Detail

booleanValue

public boolean booleanValue()
Return the value of the boolean.

Returns:
the primitive value.

setBooleanValue

public void setBooleanValue(boolean 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.