Home » tapestry-src-5.0.19 » org.apache.tapestry5.internal.util » [javadoc | source]
org.apache.tapestry5.internal.util
public class: Holder [javadoc | source]
java.lang.Object
   org.apache.tapestry5.internal.util.Holder
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 to AtomicReference , except that it is simpler but not thread safe.
Method from org.apache.tapestry5.internal.util.Holder Summary:
create,   get,   hasValue,   put
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.internal.util.Holder Detail:
 public static Holder<T> create() 
 public T get() 
 public boolean hasValue() 
 public  void put(T object)