Class Holder<T>
java.lang.Object
org.apache.tapestry5.internal.util.Holder<T>
- Type Parameters:
T
- the type being holded.
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.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Holder
public Holder()
-
-
Method Details
-
put
-
get
-
hasValue
-
create
-
create
-