public static TYPE_1 METHOD_1 ( java.util.Collection < TYPE_1 > VAR_1 ) { double x = 0.0 ; double y = 0.0 ; int count = VAR_1 . size ( ) ; for ( TYPE_1 VAR_2 : VAR_1 ) { x += VAR_2 . METHOD_2 ( ) ; y += VAR_2 . METHOD_3 ( ) ; } if ( count > 0 ) { x /= count ; y /= count ; } return count > 0 ? new TYPE_2 ( ( x / count ) , ( y / count ) ) : null ; }

public static TYPE_1 METHOD_1 ( java.util.Collection < TYPE_1 > VAR_1 ) { double x = 0.0 ; double y = 0.0 ; int count = VAR_1 . size ( ) ; for ( TYPE_1 VAR_2 : VAR_1 ) { x += VAR_2 . METHOD_2 ( ) ; y += VAR_2 . METHOD_3 ( ) ; } return count > 0 ? new TYPE_2 ( ( x / count ) , ( y / count ) ) : null ; }
