| java.lang.Object org.tigris.scarab.util.MutableBoolean
MutableBoolean | public class MutableBoolean (Code) | | This class represents a mutable boolean, i.e. you can
set it's state after creation.
author: Hussayn Dabbous |
Field Summary | |
boolean | state |
Constructor Summary | |
public | MutableBoolean(boolean theState) The constructor defines the initial state of the instance. |
Method Summary | |
public boolean | booleanValue() Get the internal state. | public void | set(boolean theState) |
state | boolean state(Code) | | The boolean state (true/false)
|
MutableBoolean | public MutableBoolean(boolean theState)(Code) | | The constructor defines the initial state of the instance.
Parameters: theState - |
booleanValue | public boolean booleanValue()(Code) | | Get the internal state.
|
set | public void set(boolean theState)(Code) | | Set the internal state to true/false
Parameters: theState - |
|
|