org.bibalex.daf.handlers
Class Holder<T>

java.lang.Object
  extended by org.bibalex.daf.handlers.Holder<T>
Type Parameters:
T -

public class Holder<T>
extends java.lang.Object

Holds a value of type T.
Note: 1) This class is identical to the one found in javax.xml.ws. But in the interest of reducing referenced jar file it is created here.
2) The purpose of this class is to pass parameters by reference.

Author:
Shehab.Kamal

Field Summary
 T value
          The value contained in the holder.
 
Constructor Summary
Holder()
          Creates a new holder with a null value.
Holder(T value)
          Create a new holder with the specified value.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public T value
The value contained in the holder.

Constructor Detail

Holder

public Holder()
Creates a new holder with a null value.


Holder

public Holder(T value)
Create a new holder with the specified value.

Parameters:
value - The value to be stored in the holder.