METHOD_0 ( ) { final int IDENT_0 = INT_0 ; java . util . List < java . lang . Long > IDENT_1 = new java . util . ArrayList < java . lang . Long > ( ) ; org . IDENT_2 . server . search . stream . IDENT_3 IDENT_4 = new org . IDENT_2 . server . search . stream . METHOD_1 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( int , int ) { int IDENT_6 = IDENT_7 ; if ( ( IDENT_8 ) != ( Long . MAX_VALUE ) ) { IDENT_6 OP_0 org . IDENT_2 . server . search . stream . IDENT_9 . IDENT_10 ; } org . hibernate . search . jpa . IDENT_11 query = IDENT_12 . METHOD_3 ( IDENT_13 ) ; query . METHOD_4 ( new org . apache . lucene . search . METHOD_5 ( STRING_0 , true ) ) ; java . util . List < java . lang . Long > results = new java . util . ArrayList < java . lang . Long > ( ) ; int IDENT_14 = 0 ; int IDENT_15 = 0 ; do { if ( log . METHOD_6 ( ) ) { log . trace ( ( ( ( ( STRING_1 + ( IDENT_13 ) ) + STRING_2 ) + ( IDENT_6 - 1 ) ) + "]" ) ) ; } IDENT_12 . METHOD_7 ( query , 0 , ( IDENT_6 - 1 ) ) ; java . util . List < java . lang . Long > IDENT_16 = query . METHOD_8 ( ) ; if ( IDENT_14 == 0 ) { IDENT_14 = query . METHOD_9 ( ) ; } IDENT_15 = IDENT_16 . size ( ) ; if ( log . METHOD_6 ( ) ) { log . trace ( ( ( ( ( STRING_3 + IDENT_15 ) + STRING_4 ) + IDENT_14 ) + STRING_5 ) ) ; } for ( java . lang . Long IDENT_17 : IDENT_16 ) { if ( ( results . size ( ) ) >= IDENT_7 ) { break ; } if ( IDENT_17 < ( IDENT_8 ) ) { if ( log . METHOD_6 ( ) ) { log . trace ( ( ( ( ( STRING_6 + IDENT_17 ) + STRING_7 ) + ( IDENT_8 ) ) + STRING_8 ) ) ; } IDENT_8 = IDENT_17 ; results . add ( IDENT_17 ) ; } } IDENT_6 += IDENT_6 ; } while ( ( ( results . size ( ) ) < IDENT_7 ) && ( IDENT_15 < IDENT_14 ) ) ; return results ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_4 . METHOD_2 ( IDENT_0 , 3 ) )