util
Class MutableBoolean
java.lang.Object
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 |
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
get
public boolean get()
set
public void set(boolean value)
toString
public String toString()
- Overrides:
toString
in class Object