Interface ICalculator
-
public interface ICalculator
Interface that is used by the CalculatedValueCache to calculate values in a background process. In a modern world this would be better implemented as a function/lambda, but as we need to work with Java 6, there are no lambdas yet and so we need to work with anonymous inner classes.- See Also:
CalculatedValueCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
executeCalculation()
Will execute the calculation of a value.
-
-
-
Method Detail
-
executeCalculation
Object executeCalculation()
Will execute the calculation of a value.- Returns:
- The value that is calculated in a background process.
-
-