Class ValueHolder<T>
java.lang.Object
uk.ac.manchester.spinnaker.utils.ValueHolder<T>
- Type Parameters:
T- The type of value to hold.
A simple class that can optionally hold a single value. This class is
modifiable.
- Author:
- Donal Fellows
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueHolder
public ValueHolder()Create an instance. The initial value held isnull. -
ValueHolder
-
-
Method Details
-
getValue
-
setValue
-
update
-