com.objsys.asn1j.runtime
Class BooleanHolder

java.lang.Object
  extended by com.objsys.asn1j.runtime.BooleanHolder

public final class BooleanHolder
extends java.lang.Object

A Holder class for a boolean that is used to store "out" and "inout" parameters in methods. If a method has a boolean as an "out" or "inout" parameter, the programmer must pass an instance of BooleanHolder as the corresponding parameter in the method invocation; for "inout" parameters, the programmer must also fill the "in" value.

If myBooleanHolder is an instance of BooleanHolder, the value stored in its value field can be accessed with myBooleanHolder.value.


Field Summary
 boolean value
           
 
Constructor Summary
BooleanHolder()
           
BooleanHolder(boolean initial)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public boolean value
Constructor Detail

BooleanHolder

public BooleanHolder()

BooleanHolder

public BooleanHolder(boolean initial)