argparser
Class ObjectHolder

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

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

Wrapper class which ``holds'' an Object reference, enabling methods to return Object references through arguments.

See Also:
Serialized Form

Field Summary
 java.lang.Object value
          Value of the Object reference, set and examined by the application as needed.
 
Constructor Summary
ObjectHolder()
          Constructs a new ObjectHolder with an initial value of null.
ObjectHolder(java.lang.Object o)
          Constructs a new ObjectHolder 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 java.lang.Object value
Value of the Object reference, set and examined by the application as needed.

Constructor Detail

ObjectHolder

public ObjectHolder()
Constructs a new ObjectHolder with an initial value of null.


ObjectHolder

public ObjectHolder(java.lang.Object o)
Constructs a new ObjectHolder with a specific initial value.

Parameters:
o - Initial Object reference.