argparser
Class BooleanHolder

java.lang.Object
  extended byargparser.BooleanHolder
All Implemented Interfaces:
java.io.Serializable

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

Wrapper class which ``holds'' a boolean value, enabling methods to return boolean values through arguments.

See Also:
Serialized Form

Field Summary
 boolean value
          Value of the boolean, set and examined by the application as needed.
 
Constructor Summary
BooleanHolder()
          Constructs a new BooleanHolder with an initial value of false.
BooleanHolder(boolean b)
          Constructs a new BooleanHolder with a specific initial value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public boolean value
Value of the boolean, set and examined by the application as needed.

Constructor Detail

BooleanHolder

public BooleanHolder()
Constructs a new BooleanHolder with an initial value of false.


BooleanHolder

public BooleanHolder(boolean b)
Constructs a new BooleanHolder with a specific initial value.

Parameters:
b - Initial boolean value.