com.threerings.expr
Class MutableBoolean

java.lang.Object
  extended by com.threerings.expr.MutableBoolean

public class MutableBoolean
extends Object

A mutable equivalent to Boolean.


Field Summary
 boolean value
          The value of this variable.
 
Constructor Summary
MutableBoolean()
          Creates a mutable boolean with a value of false.
MutableBoolean(boolean value)
          Creates a mutable boolean with the supplied value.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public boolean value
The value of this variable.

Constructor Detail

MutableBoolean

public MutableBoolean(boolean value)
Creates a mutable boolean with the supplied value.


MutableBoolean

public MutableBoolean()
Creates a mutable boolean with a value of false.

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.