make sure the abstract copy() method signature used is the restricted one inherited from the StorelessUnivariateStatistic interface and not the general one inherited from AbstractUnivariateStatistic. The eclipse compiler generates an error without this.