Package org.zkoss.pivot.impl.calc
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 forCalculator
that usesContext
to compute an aggregation summary.- Author:
- simonpai
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContextType<C>
getContextType()
Get theContextType
.Number
getResult(C context)
Retrieve the aggregation result from the context.-
Methods inherited from interface org.zkoss.pivot.Calculator
getLabel, getLabelKey
-
-
-
-
Method Detail
-
getContextType
ContextType<C> getContextType()
Get theContextType
.
-
-