int METHOD_1 ( TYPE_1 type ) { int count = 0 ; for ( TYPE_2 VAR_1 : VAR_2 ) { if ( ( VAR_1 . METHOD_2 ( ) ) == type ) { count ++ ; } } return count ; }
int METHOD_1 ( TYPE_1 type ) { int count = 0 ; for ( TYPE_2 VAR_1 : VAR_2 ) { if ( VAR_1 . METHOD_2 ( ) . equals ( type ) ) { count ++ ; } } return count ; }