class StatisticsMath {

	public static <T extends Number> double mean(final List<T> values)
	{
		double sum = 0;
		for (Number f : values)
		{
			sum += f.doubleValue();
		}
		return sum / values.size();
	}

	@SuppressWarnings("unused") private  StatisticsMath();

}