S - type of the previous state that is the bases for the computation of the new state.
T - type of the element value that is used to compute the change of state.
public interface StateTransformationFunction<S,T>
Interface for a binary function that is used for push-down of state transformation into state
backends. The function takes as inputs the old state and an element. From those inputs, the
function computes the new state.