private static double METHOD_1 ( java.util.ArrayList < java.lang.Double > p ) { double sum = 0 ; for ( double i : p ) { sum -= i * ( TYPE_1 . METHOD_2 ( i ) ) ; } return sum ; }
private static double METHOD_1 ( java.util.ArrayList < java.lang.Double > p ) { double sum = 0 ; for ( double i : p ) { if ( i > 0 ) sum -= i * ( TYPE_1 . METHOD_2 ( i ) ) ; } return sum ; }