com.objsys.asn1j.runtime
Class IntHolder

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

public final class IntHolder
extends java.lang.Object

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

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


Field Summary
 int value
           
 
Constructor Summary
IntHolder()
           
IntHolder(int 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 int value
Constructor Detail

IntHolder

public IntHolder()

IntHolder

public IntHolder(int initial)