Interface ContextualCalculator<C extends Context<C>>

All Superinterfaces:
Calculator
All Known Implementing Classes:
AbstractCalculator, StandardCalculator

public interface ContextualCalculator<C extends Context<C>> extends Calculator
The interface for Calculator that uses Context to compute an aggregation summary.
Author:
simonpai
  • Method Details

    • getResult

      Number getResult(C context)
      Retrieve the aggregation result from the context.
    • getContextType

      ContextType<C> getContextType()
      Get the ContextType.