Package org.opencastproject.util.data
Class VCell<A>
java.lang.Object
org.opencastproject.util.data.Cell<A>
org.opencastproject.util.data.VCell<A>
- Type Parameters:
A- the value type
Value cell, a mutable data container.
Cells provide a pattern that reverses the listener pattern. Instead of propagating changes of a value to registered
listeners via callbacks, the dependent object just holds a reference to a cell and pulls the value when needed.
Cells must not contain null!
-
Constructor Summary
Constructors -
Method Summary