METHOD_0 ( ) { com . googlecode . IDENT_0 . IDENT_1 < com . googlecode . IDENT_0 . examples . IDENT_2 . IDENT_3 > IDENT_4 = new com . googlecode . IDENT_0 . IDENT_5 < com . googlecode . IDENT_0 . examples . IDENT_2 . IDENT_3 > ( ) ; com . googlecode . IDENT_0 . IDENT_6 . IDENT_7 < com . googlecode . IDENT_0 . examples . IDENT_2 . IDENT_3 , java . lang . String > IDENT_8 = com . googlecode . IDENT_0 . IDENT_6 . IDENT_9 . METHOD_1 ( com . googlecode . IDENT_0 . examples . IDENT_2 . IDENT_3 . class , java . lang . String . class , "name" ) ; IDENT_4 . METHOD_2 ( com . googlecode . IDENT_0 . index . hash . IDENT_10 . METHOD_3 ( IDENT_8 ) ) ; IDENT_4 . add ( new com . googlecode . IDENT_0 . examples . IDENT_2 . METHOD_4 ( 1 , STRING_0 , STRING_1 , java . util . Arrays . asList ( STRING_2 , STRING_3 ) ) ) ; IDENT_4 . add ( new com . googlecode . IDENT_0 . examples . IDENT_2 . METHOD_4 ( 2 , STRING_4 , STRING_5 , java . util . Arrays . asList ( STRING_2 , STRING_6 ) ) ) ; IDENT_4 . add ( new com . googlecode . IDENT_0 . examples . IDENT_2 . METHOD_4 ( 3 , STRING_7 , STRING_8 , java . util . Arrays . asList ( STRING_6 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( com . googlecode . IDENT_0 . query . Query , com . googlecode . IDENT_0 . engine . IDENT_11 ) { @ com . googlecode . IDENT_0 . engine . METHOD_6 ( STRING_9 ) com . googlecode . IDENT_0 . engine . IDENT_12 < IDENT_13 > IDENT_14 = ( ( com . googlecode . IDENT_0 . engine . IDENT_12 < IDENT_13 > ) ( IDENT_15 . get ( com . googlecode . IDENT_0 . engine . IDENT_12 . class ) ) ) ; IDENT_15 . put ( com . googlecode . IDENT_0 . engine . IDENT_16 . IDENT_17 , query ) ; final com . googlecode . IDENT_0 . engine . IDENT_18 IDENT_19 = IDENT_15 . get ( com . googlecode . IDENT_0 . engine . IDENT_18 . class ) ; com . googlecode . IDENT_0 . engine . IDENT_20 < ? , IDENT_13 > IDENT_21 = null ; if ( IDENT_14 != null ) { java . lang . Double IDENT_22 = com . googlecode . IDENT_0 . engine . IDENT_23 . METHOD_7 ( IDENT_15 , IDENT_24 . IDENT_25 ) ; if ( IDENT_22 == null ) { IDENT_22 = IDENT_24 . IDENT_25 . METHOD_8 ( ) ; } final com . googlecode . IDENT_0 . engine . List < com . googlecode . IDENT_0 . engine . IDENT_26 < IDENT_13 > > IDENT_27 = IDENT_14 . METHOD_9 ( ) ; if ( IDENT_22 != 0.0 ) { com . googlecode . IDENT_0 . engine . IDENT_26 < IDENT_13 > IDENT_28 = IDENT_27 . iterator ( ) . next ( ) ; @ com . googlecode . IDENT_0 . engine . METHOD_6 ( STRING_9 ) com . googlecode . IDENT_0 . engine . IDENT_7 < IDENT_13 , java . lang . IDENT_29 > IDENT_30 = ( ( com . googlecode . IDENT_0 . engine . IDENT_7 < IDENT_13 , java . lang . IDENT_29 > ) ( IDENT_28 . METHOD_10 ( ) ) ) ; if ( IDENT_30 instanceof com . googlecode . IDENT_0 . engine . IDENT_31 ) { @ com . googlecode . IDENT_0 . engine . METHOD_6 ( STRING_9 ) com . googlecode . IDENT_0 . engine . IDENT_7 < IDENT_13 , java . lang . IDENT_29 > IDENT_32 = ( ( com . googlecode . IDENT_0 . engine . IDENT_31 ) ( IDENT_30 ) ) . METHOD_11 ( ) ; IDENT_30 = IDENT_32 ; } if ( ( IDENT_30 instanceof com . googlecode . IDENT_0 . engine . IDENT_33 ) || ( ( IDENT_34 . get ( METHOD_12 ( METHOD_13 ( IDENT_30 ) ) ) ) != null ) ) { for ( com . googlecode . IDENT_0 . index . IDENT_35 < IDENT_13 > index : this . METHOD_14 ( IDENT_30 ) ) { if ( ( index instanceof com . googlecode . IDENT_0 . engine . IDENT_20 ) && ( ! ( index . METHOD_15 ( ) ) ) ) { IDENT_21 = ( ( com . googlecode . IDENT_0 . engine . IDENT_20 < ? , IDENT_13 > ) ( index ) ) ; break ; } } } if ( IDENT_19 != null ) { IDENT_19 . log ( ( STRING_10 + ( IDENT_21 == null ? null : IDENT_21 . getClass ( ) . METHOD_16 ( ) ) ) ) ; } if ( IDENT_21 != null ) { final double IDENT_36 ; if ( IDENT_22 == 1.0 ) { IDENT_36 = 0.0 ; } else if ( ! ( IDENT_21 . METHOD_17 ( METHOD_13 ( IDENT_30 ) , IDENT_15 ) ) ) { IDENT_36 = 1.0 ; } else { final int IDENT_37 = METHOD_18 ( query , IDENT_15 ) . METHOD_19 ( ) ; final int IDENT_38 = IDENT_21 . METHOD_5 ( METHOD_13 ( IDENT_30 ) , IDENT_15 ) . METHOD_19 ( ) ; if ( IDENT_19 != null ) { IDENT_19 . log ( ( STRING_11 + IDENT_37 ) ) ; IDENT_19 . log ( ( STRING_12 + IDENT_38 ) ) ; } if ( IDENT_38 == 0 ) { IDENT_36 = 1.0 ; } else if ( IDENT_37 > IDENT_38 ) { IDENT_36 = 0.0 ; } else { IDENT_36 = 1.0 - ( IDENT_37 / ( ( double ) ( IDENT_38 ) ) ) ; } } if ( IDENT_19 != null ) { IDENT_19 . log ( ( STRING_13 + IDENT_36 ) ) ; IDENT_19 . log ( ( STRING_14 + IDENT_22 ) ) ; } if ( IDENT_36 > IDENT_22 ) { IDENT_21 = null ; } } } } com . googlecode . IDENT_0 . IDENT_39 . ResultSet < IDENT_13 > IDENT_40 ; if ( IDENT_21 != null ) { IDENT_40 = METHOD_20 ( query , IDENT_15 , IDENT_14 , IDENT_21 ) ; if ( IDENT_19 != null ) { IDENT_19 . log ( STRING_15 ) ; } } else { IDENT_40 = METHOD_21 ( query , IDENT_15 , IDENT_14 ) ; if ( IDENT_19 != null ) { IDENT_19 . log ( STRING_16 ) ; } } return new com . googlecode . IDENT_0 . IDENT_39 . IDENT_41 . IDENT_42 < IDENT_13 > ( IDENT_40 , query , IDENT_15 ) { @ com . googlecode . IDENT_0 . engine . Override public void close ( ) { super . close ( ) ; com . googlecode . IDENT_0 . engine . IDENT_43 . METHOD_22 ( IDENT_15 ) ; } } ; }
org . junit . Assert . assertEquals ( IDENT_4 . METHOD_5 ( equal ( IDENT_8 , STRING_7 ) ) . size ( ) , 1 )