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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Will execute the calculation of a value.
  • Method Details

    • executeCalculation

      Object executeCalculation()
      Will execute the calculation of a value.
      Returns:
      The value that is calculated in a background process.