util
Class MutableBoolean

java.lang.Object
  extended by util.MutableBoolean

public class MutableBoolean
extends Object

Object wrapper around a boolean


Constructor Summary
MutableBoolean()
          Creates a new mutable boolean with value false
MutableBoolean(boolean value)
          Creates a new mutable boolean with the given value
 
Method Summary
 boolean get()
           
 void set(boolean value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableBoolean

public MutableBoolean()
Creates a new mutable boolean with value false


MutableBoolean

public MutableBoolean(boolean value)
Creates a new mutable boolean with the given value

Parameters:
value - the initial value
Method Detail

get

public boolean get()

set

public void set(boolean value)

toString

public String toString()
Overrides:
toString in class Object