private boolean METHOD_1 ( TYPE_1 VAR_1 ) { for ( TYPE_1 key : VAR_2 . METHOD_2 ( ) ) { if ( ( key . METHOD_3 ( ) . equals ( VAR_1 . METHOD_3 ( ) ) ) || ( key . METHOD_4 ( ) . equals ( VAR_1 . METHOD_4 ( ) ) ) ) { return true ; } } return false ; }

private TYPE_1 METHOD_1 ( TYPE_1 VAR_1 ) { for ( TYPE_1 key : VAR_2 . METHOD_2 ( ) ) { if ( ( key . METHOD_3 ( ) . equals ( VAR_1 . METHOD_3 ( ) ) ) || ( key . METHOD_4 ( ) . equals ( VAR_1 . METHOD_4 ( ) ) ) ) { return key ; } } return null ; }
