Interface IntermediateCalculatorFrom<F,S>
-
- Type Parameters:
R
-F
-S
-T
-
- All Known Implementing Classes:
CalculatorBuilder
public interface IntermediateCalculatorFrom<F,S>
A half-finishedBinaryCalculator
that expects to be provided with the first probe ("from"-probe) in this construction step.Allows for a "fluent" construction of calculators.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntermediateCalculatorTo<F,S>
from(F first, String property, Object... measurementContexts)
Tells this calculator where and when a new calculation is supposed to start.
-
-
-
Method Detail
-
from
IntermediateCalculatorTo<F,S> from(F first, String property, Object... measurementContexts)
Tells this calculator where and when a new calculation is supposed to start.- Parameters:
first
- the element where the calculation startsproperty
- the element's observed property; once this property changes, a new calculation startsmeasurementContexts
- restricts the calculation to these measurement contexts; if supplied, a new calculation is started only when the observed property change took place in the scope of the given contexts.- Returns:
- a another half-finished, near to complete, calculator.
-
-