private TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { TYPE_1 result = null ; for ( TYPE_1 VAR_3 : VAR_2 . METHOD_2 ( ) ) { if ( VAR_3 . METHOD_3 ( ) . equals ( VAR_1 . METHOD_4 ( ) ) ) { result = VAR_3 ; break ; } } return result ; }

private TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , TYPE_3 VAR_2 ) { TYPE_1 result = null ; for ( TYPE_1 VAR_3 : VAR_2 . METHOD_2 ( ) ) { if ( ( ( VAR_3 . METHOD_3 ( ) ) != null ) && ( VAR_3 . METHOD_3 ( ) . equals ( VAR_1 . METHOD_4 ( ) ) ) ) { result = VAR_3 ; break ; } } return result ; }
