private double METHOD_1 ( java.util.ArrayList < java.lang.Double > array ) { double sum = 0 ; int length = array . size ( ) ; for ( double i : array ) { sum += i ; } return sum / length ; }
private double METHOD_1 ( java.util.LinkedList < java.lang.Double > array ) { double sum = 0 ; int length = array . size ( ) ; for ( double i : array ) { sum += i ; } return sum / length ; }