public int METHOD_1 ( TYPE_1 source , TYPE_1 step ) { for ( TYPE_2 VAR_1 : VAR_2 ) { if ( ( VAR_1 . METHOD_2 ( ) . equals ( source ) ) && ( VAR_1 . METHOD_3 ( ) . equals ( step ) ) ) { return VAR_1 . METHOD_4 ( ) ; } } return - 1 ; }

public int METHOD_1 ( TYPE_1 source , TYPE_1 step ) { for ( TYPE_2 VAR_1 : VAR_2 ) { if ( ( ( VAR_1 . METHOD_2 ( ) . equals ( source ) ) && ( VAR_1 . METHOD_3 ( ) . equals ( step ) ) ) || ( ( VAR_1 . METHOD_2 ( ) . equals ( step ) ) && ( VAR_1 . METHOD_3 ( ) . equals ( source ) ) ) ) { return VAR_1 . METHOD_4 ( ) ; } } return - 1 ; }
