@FunctionalInterface public static interface SingleValueUpdaterCallback.Function
|Modifier and Type||Method and Description|
The callback for the
ITimeBasedState invoke(ITimeBasedState stateToUpdate, double newValue)
stateToUpdate- The propagated state to get updated.
newValue- The value to use to edit the
stateToUpdatecan be mutated, or it can be copied or cloned and that copy can be returned.