METHOD_0 ( ) { final double IDENT_0 = 0.0 ; java . lang . String IDENT_1 = STRING_0 ; java . lang . String IDENT_2 = STRING_1 ; double result = org . talend . utils . string . IDENT_3 . METHOD_1 ( IDENT_1 , IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { java . lang . String [ ] IDENT_4 = res . split ( STRING_2 ) ; java . lang . String [ ] IDENT_5 = IDENT_6 . split ( STRING_2 ) ; int IDENT_7 = IDENT_4 . length ; int IDENT_8 = IDENT_5 . length ; java . util . Set < java . lang . String > IDENT_9 = new java . util . HashSet < java . lang . String > ( ) ; boolean IDENT_10 = false ; double IDENT_11 = 0 ; if ( ( IDENT_7 == 0 ) || ( IDENT_8 == 0 ) ) { return 0.0 ; } for ( int IDENT_12 = 0 ; IDENT_12 < IDENT_7 ; IDENT_12 ++ ) { IDENT_9 . add ( IDENT_4 [ IDENT_12 ] ) ; for ( int IDENT_13 = 0 ; IDENT_13 < IDENT_8 ; IDENT_13 ++ ) { if ( ! IDENT_10 ) { IDENT_9 . add ( IDENT_5 [ IDENT_13 ] ) ; } if ( IDENT_4 [ IDENT_12 ] . equals ( IDENT_5 [ IDENT_13 ] ) ) { int IDENT_14 = IDENT_4 [ IDENT_12 ] . length ( ) ; if ( IDENT_14 > 1 ) { double IDENT_15 = ( java . lang . Math . log ( IDENT_14 ) ) / ( java . lang . Math . log ( 2 ) ) ; IDENT_11 = IDENT_11 + IDENT_15 ; } else { IDENT_11 ++ ; } } } IDENT_10 = true ; } return IDENT_11 / ( java . lang . Double . valueOf ( IDENT_9 . size ( ) ) ) ; }
org . junit . Assert . assertTrue ( ( result == IDENT_0 ) )