METHOD_0 ( ) { final java . util . concurrent . IDENT_0 < java . lang . Integer , org . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_4 = new java . util . concurrent . METHOD_1 ( ) ; java . util . List < java . lang . Thread > IDENT_5 = new java . util . ArrayList ( ) ; final java . util . concurrent . IDENT_6 IDENT_7 = new java . util . concurrent . METHOD_2 ( 1 ) ; for ( int x = 0 ; x < 10 ; x ++ ) { final int IDENT_8 = x ; java . lang . IDENT_9 IDENT_10 = new java . lang . METHOD_3 ( ) { @ org . IDENT_1 . IDENT_2 . reference . Override public void run ( ) { try { IDENT_7 . METHOD_4 ( ) ; } catch ( java . lang . IDENT_11 e ) { e . printStackTrace ( ) ; } IDENT_4 . put ( IDENT_8 , org . IDENT_1 . IDENT_2 . reference . IDENT_12 . getInstance ( ) . METHOD_5 ( org . IDENT_1 . IDENT_2 . reference . IDENT_13 . class ) ) ; } } ; java . lang . METHOD_3 IDENT_14 = new java . lang . METHOD_3 ( ) { @ org . IDENT_1 . IDENT_2 . reference . Override public void run ( ) { try { IDENT_7 . METHOD_4 ( ) ; } catch ( java . lang . IDENT_11 e ) { e . printStackTrace ( ) ; } IDENT_4 . put ( IDENT_8 , org . IDENT_1 . IDENT_2 . reference . IDENT_12 . getInstance ( ) . METHOD_5 ( org . IDENT_1 . IDENT_2 . reference . IDENT_13 . class . getName ( ) ) ) ; } } ; IDENT_5 . add ( new java . lang . Thread ( IDENT_10 , ( STRING_0 + x ) ) ) ; IDENT_5 . add ( new java . lang . Thread ( IDENT_14 , ( STRING_1 + x ) ) ) ; } for ( java . lang . Thread IDENT_15 : IDENT_5 ) { IDENT_15 . start ( ) ; } IDENT_7 . METHOD_6 ( ) ; for ( java . lang . Thread IDENT_15 : IDENT_5 ) { IDENT_15 . join ( ) ; } java . util . Set < org . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_16 = new java . util . HashSet ( IDENT_4 . values ( ) ) ; "<AssertPlaceHolder>" ; } size ( ) { return IDENT_17 . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_16 . size ( ) )