METHOD_0 ( ) { final java . util . concurrent . IDENT_0 < org . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 , org . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 > m = METHOD_1 ( generator ) ; final java . util . concurrent . atomic . IDENT_5 IDENT_6 = new java . util . concurrent . atomic . METHOD_2 ( false ) ; java . lang . Thread IDENT_7 = new java . lang . Thread ( ( ) -> { int IDENT_8 = 0 ; java . util . IDENT_9 IDENT_10 = new java . util . METHOD_3 ( ) ; while ( ! ( IDENT_6 . get ( ) ) ) { if ( ( ++ IDENT_8 ) == INT_0 ) { IDENT_8 = 0 ; java . lang . Thread . METHOD_4 ( ) ; } int v = IDENT_10 . METHOD_5 ( INT_1 ) ; if ( IDENT_10 . METHOD_6 ( ) ) { m . remove ( org . IDENT_1 . IDENT_2 . generator . METHOD_7 ( v ) ) ; } else { m . put ( org . IDENT_1 . IDENT_2 . generator . METHOD_7 ( v ) , org . IDENT_1 . IDENT_2 . generator . METHOD_7 ( v ) ) ; } } } ) ; IDENT_7 . start ( ) ; boolean IDENT_11 = java . lang . Thread . METHOD_8 ( ) ; try { for ( int i = 0 ; i < 10 ; i ++ ) { int IDENT_12 = 0 ; for ( Map . Entry < org . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 , org . IDENT_1 . IDENT_2 . util . IDENT_3 . IDENT_4 > e : m . entrySet ( ) ) { "<AssertPlaceHolder>" ; IDENT_12 ++ ; } System . out . println ( ( ( ( STRING_0 + i ) + STRING_1 ) + IDENT_12 ) ) ; if ( IDENT_12 == 0 ) { try { java . lang . Thread . sleep ( 100 ) ; } catch ( java . lang . IDENT_13 e ) { METHOD_8 = true ; } } else { java . lang . Thread . METHOD_4 ( ) ; } } } finally { IDENT_6 . set ( true ) ; while ( IDENT_7 . METHOD_9 ( ) ) { try { IDENT_7 . join ( ) ; } catch ( java . lang . IDENT_13 e ) { METHOD_8 = true ; } } if ( METHOD_8 ) { java . lang . Thread . METHOD_10 ( ) . METHOD_11 ( ) ; } } } getKey ( ) { return key ; }
org . junit . Assert . assertEquals ( e . getKey ( ) , e . getValue ( ) )