METHOD_0 ( ) { org . apache . hadoop . hbase . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . hadoop . hbase . IDENT_0 . METHOD_1 ( ) { @ org . apache . hadoop . hbase . IDENT_0 . Override MOD_0 java . util . List < org . apache . hadoop . hbase . util . IDENT_3 < org . apache . hadoop . hbase . IDENT_4 , java . lang . Long > > METHOD_2 ( long IDENT_5 ) { return new java . util . ArrayList ( ) ; } } ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { long IDENT_5 = ( org . apache . hadoop . hbase . util . IDENT_6 . METHOD_4 ( ) ) - ( ( IDENT_7 ) * 2 ) ; for ( org . apache . hadoop . hbase . util . IDENT_3 < org . apache . hadoop . hbase . IDENT_4 , java . lang . Long > IDENT_8 : METHOD_2 ( IDENT_5 ) ) { IDENT_9 . METHOD_5 ( IDENT_8 . METHOD_6 ( ) , 0 ) ; } java . util . List < Map . Entry < org . apache . hadoop . hbase . IDENT_4 , java . lang . Integer > > IDENT_10 = new java . util . ArrayList ( IDENT_9 . entrySet ( ) ) ; java . util . Collections . METHOD_7 ( IDENT_10 , new java . util . IDENT_11 < Map . Entry < org . apache . hadoop . hbase . IDENT_4 , java . lang . Integer > > ( ) { @ java . lang . Override public int compare ( Map . Entry < org . apache . hadoop . hbase . IDENT_4 , java . lang . Integer > IDENT_12 , Map . Entry < org . apache . hadoop . hbase . IDENT_4 , java . lang . Integer > IDENT_13 ) { return IDENT_12 . getValue ( ) . compareTo ( IDENT_13 . getValue ( ) ) ; } } ) ; int max = ( ( IDENT_10 . size ( ) ) > ( org . apache . hadoop . hbase . IDENT_0 . METHOD_1 . IDENT_14 ) ) ? org . apache . hadoop . hbase . IDENT_0 . METHOD_1 . IDENT_14 : IDENT_10 . size ( ) ; java . util . List < org . apache . hadoop . hbase . IDENT_4 > res = new java . util . ArrayList ( max ) ; for ( int i = 0 ; i < max ; i ++ ) { Map . Entry < org . apache . hadoop . hbase . IDENT_4 , java . lang . Integer > IDENT_15 = IDENT_10 . get ( i ) ; if ( ( IDENT_15 . getValue ( ) ) >= ( ( org . apache . hadoop . hbase . IDENT_0 . METHOD_1 . IDENT_16 ) - 1 ) ) { IDENT_9 . remove ( IDENT_15 . getKey ( ) ) ; } else { IDENT_9 . replace ( IDENT_15 . getKey ( ) , IDENT_15 . getValue ( ) , ( ( IDENT_15 . getValue ( ) ) + 1 ) ) ; } res . add ( IDENT_15 . getKey ( ) ) ; } return res ; }
org . junit . Assert . assertTrue ( IDENT_2 . METHOD_3 ( ) . isEmpty ( ) )