title: Java design pattern for analytics calculation
body: <p>I have to calculate around 300 different analytics for example 
  1. Calculate mean of a given set 
  2. Calculate median of a given set
  Etc
  These calculators will be used in a batch process to calculate analytics from a set of data.
  I am planning to create an AbstractCalculator that will have all the common logic and then core implementation will be available in each of the child class's calculate method.
  I want to know is there a better way or is there an existing design pattern that I can refer to for such requirement. Only problem that I çan see is it will be difficult to manage 300 child classes.Is there a better way to handle such requirement
  Thanks
  Shakti</p>