static double METHOD_1 ( java.util.Collection < java.lang.Double > VAR_1 ) { if ( ( VAR_1 . size ( ) ) == 0 ) { throw new TYPE_1 ( STRING_1 ) ; } double sum = 0.0 ; for ( double number : VAR_1 ) { sum += number ; } return sum / ( VAR_1 . size ( ) ) ; }

static java.lang.Double METHOD_1 ( java.util.Collection < java.lang.Double > VAR_1 ) { if ( ( VAR_1 . size ( ) ) == 0 ) { return null ; } double sum = 0.0 ; for ( double number : VAR_1 ) { sum += number ; } return sum / ( VAR_1 . size ( ) ) ; }
