METHOD_0 ( ) { when ( IDENT_0 . IDENT_1 . create ( any ( ) , any ( org . pentaho . di . core . logging . IDENT_2 . class ) ) ) . thenReturn ( IDENT_0 . IDENT_3 ) ; org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = new org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_1 ( IDENT_0 . IDENT_9 , IDENT_0 . IDENT_10 , 0 , IDENT_0 . IDENT_11 , IDENT_0 . IDENT_4 ) ; org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_12 IDENT_13 = new org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_2 ( ) ; IDENT_13 . cache = org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_14 . METHOD_3 ( IDENT_13 , 0 ) ; IDENT_13 . IDENT_15 = new org . pentaho . di . core . row . METHOD_4 ( ) ; IDENT_8 . init ( new org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_5 ( ) , IDENT_13 ) ; org . pentaho . di . core . row . IDENT_16 IDENT_17 = new org . pentaho . di . core . row . value . METHOD_6 ( STRING_0 ) ; org . pentaho . di . core . row . METHOD_4 IDENT_15 = new org . pentaho . di . core . row . METHOD_4 ( ) ; IDENT_15 . METHOD_7 ( java . util . Collections . singletonList ( IDENT_17 ) ) ; java . lang . Object [ ] IDENT_18 = new java . lang . Object [ 1 ] ; IDENT_18 [ 0 ] = 1L ; java . lang . Object [ ] IDENT_19 = new java . lang . Object [ 1 ] ; IDENT_19 [ 0 ] = INT_0 ; java . lang . Object [ ] IDENT_20 = new java . lang . Object [ 1 ] ; IDENT_20 [ 0 ] = INT_1 ; java . lang . Object [ ] IDENT_21 = new java . lang . Object [ 1 ] ; IDENT_21 [ 0 ] = INT_2 ; IDENT_13 . cache . METHOD_8 ( IDENT_0 . IDENT_22 , IDENT_15 , IDENT_18 , IDENT_20 ) ; IDENT_13 . cache . METHOD_8 ( IDENT_0 . IDENT_22 , IDENT_15 , IDENT_19 , IDENT_21 ) ; java . lang . Object [ ] IDENT_23 = new java . lang . Object [ 1 ] ; IDENT_23 [ 0 ] = 0L ; IDENT_13 . IDENT_24 = new int [ 1 ] ; IDENT_13 . IDENT_24 [ 0 ] = METHOD_5 . IDENT_25 ; java . lang . Object [ ] IDENT_26 = IDENT_13 . cache . METHOD_9 ( IDENT_15 , IDENT_23 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( org . pentaho . di . core . row . IDENT_27 , java . lang . Object [ ] ) { if ( IDENT_28 . IDENT_29 ) { return null ; } org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_30 . IDENT_31 context = new org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_30 . METHOD_10 ( ) ; context . init ( keys . length ) ; for ( org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_30 . IDENT_32 index : IDENT_33 ) { int column = index . METHOD_11 ( ) ; java . lang . Object IDENT_34 = ( column < ( IDENT_35 . length ) ) ? IDENT_35 [ column ] : null ; index . METHOD_12 ( context , IDENT_15 . METHOD_13 ( column ) , IDENT_34 ) ; if ( context . isEmpty ( ) ) { return null ; } } java . util . IDENT_36 IDENT_37 = context . METHOD_14 ( ) ; int IDENT_38 = IDENT_37 . METHOD_15 ( 0 ) ; while ( IDENT_38 != ( - 1 ) ) { java . lang . Object [ ] IDENT_39 = keys [ IDENT_38 ] ; boolean matches = true ; int IDENT_40 = 0 ; for ( int i = 0 , len = IDENT_41 . length ; ( i < len ) && matches ; i ++ ) { int [ ] IDENT_42 = IDENT_41 [ i ] ; final int column = IDENT_42 [ 0 ] ; java . lang . Object IDENT_43 = IDENT_39 [ column ] ; org . pentaho . di . core . row . IDENT_16 IDENT_44 = IDENT_45 . METHOD_13 ( column ) ; int IDENT_46 = column + IDENT_40 ; java . lang . Object IDENT_47 = IDENT_35 [ IDENT_46 ] ; org . pentaho . di . core . row . IDENT_16 IDENT_48 = IDENT_15 . METHOD_13 ( IDENT_46 ) ; int condition = IDENT_42 [ 1 ] ; if ( condition == ( org . pentaho . di . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_5 . IDENT_49 ) ) { matches = ( IDENT_44 . compare ( IDENT_43 , IDENT_48 , IDENT_47 ) ) >= 0 ; if ( matches ) { IDENT_40 ++ ; IDENT_46 ++ ; org . pentaho . di . core . row . IDENT_16 IDENT_50 = IDENT_15 . METHOD_13 ( IDENT_46 ) ; java . lang . Object IDENT_51 = IDENT_35 [ IDENT_46 ] ; matches = ( IDENT_44 . compare ( IDENT_43 , IDENT_50 , IDENT_51 ) ) <= 0 ; } } else { matches = false ; IDENT_28 . IDENT_29 = true ; } } if ( matches ) { return data [ IDENT_38 ] ; } else { IDENT_38 = IDENT_37 . METHOD_15 ( ( IDENT_38 + 1 ) ) ; } } return null ; }
org . junit . Assert . assertArrayEquals ( IDENT_26 , IDENT_20 )