T - The configuration type this delegate will modify. This configuration type should be the type 
    that is specific to the segment being used (for example, use a 
    InitialStateSegmentConfiguration 
    if the associated segment is a NumericalPropagatorSegment.@FunctionalInterface public static interface SetVariableCallback.Function<T extends ICloneWithContext>
| Modifier and Type | Method and Description | 
|---|---|
void | 
invoke(double currentValue,
      T configurationToModify)
The setter  
delegate for the DelegateBasedVariable. | 
void invoke(double currentValue,
            T configurationToModify)
delegate for the DelegateBasedVariable. You will want to 
        apply the currentValue to the appropriate element in the 
        configurationToModify.currentValue - The value modifying the configurationToModify.
        It is up to you to apply this value to whatever the initial value is in the
        configurationToModify.  The values in the configurationToModify 
        must be modified such that they reflect this update.configurationToModify - The configuration of the segment getting modified.