public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { for ( TYPE_1 VAR_2 : VAR_3 ) { if ( ( VAR_2 == null ) || ( ( VAR_2 . METHOD_2 ( ) ) == null ) ) { continue ; } if ( ( ( VAR_2 . METHOD_2 ( ) ) != null ) && ( VAR_2 . METHOD_2 ( ) . equals ( VAR_1 ) ) ) { return VAR_2 ; } } return null ; }

public TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { for ( int i = 0 ; i < ( VAR_3 . size ( ) ) ; i ++ ) { if ( ( ( VAR_3 . get ( i ) ) == null ) || ( ( VAR_3 . get ( i ) . METHOD_2 ( ) ) == null ) ) { continue ; } if ( VAR_3 . get ( i ) . METHOD_2 ( ) . equals ( VAR_1 ) ) { return VAR_3 . get ( i ) ; } } return null ; }
