Class Mutable<T>
java.lang.Object
io.nflow.engine.workflow.definition.Mutable<T>
- Type Parameters:
- T- The class of object to be wrapped.
Wrapper class to provide mutable object for immutable value.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
valThe wrapped value.
 
- 
- 
Constructor Details- 
Mutablepublic Mutable()Default constructor.
- 
MutableCreates a wrapper forval.- Parameters:
- val- Any object to be wrapped.
 
 
- 
- 
Method Details- 
setValSets the new value forval.- Parameters:
- val- New value.
 
- 
getValReturns the wrapped value.- Returns:
- Wrapped value.
 
- 
toStringReturns the string representation of theval.
- 
equals
- 
hashCodepublic int hashCode()
 
-