public boolean METHOD_1 ( TYPE_1 list , TYPE_2 VAR_1 ) { for ( TYPE_2 VAR_2 : list . METHOD_2 ( ) ) { if ( ( VAR_2 . METHOD_3 ( ) ) == ( VAR_1 . METHOD_3 ( ) ) ) return true ; } return false ; }
public boolean METHOD_1 ( TYPE_1 list , TYPE_2 VAR_1 ) { for ( TYPE_2 VAR_2 : list . METHOD_2 ( ) ) { if ( VAR_2 . METHOD_3 ( ) . equals ( VAR_1 . METHOD_3 ( ) ) ) return true ; } return false ; }