Class Holder<T>
- java.lang.Object
 - 
- org.apache.tapestry5.internal.util.Holder<T>
 
 
- 
- Type Parameters:
 T- the type being holded.
public class Holder<T> extends Object
An object that holds some type of other object. This is useful for communicating information from an inner class (used as a closure) to the containing method. This is similar toAtomicReference, except that it is simpler but not thread safe. 
- 
- 
Constructor Summary
Constructors Constructor Description Holder() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Holder<T>create()static <T> Holder<T>create(T initial)Tget()booleanhasValue()voidput(T object) 
 -