public static void init(StatisticResult input, int size) { result = input; input.setValue(new ArrayList<Double>(size)); }