METHOD_0 ( ) { final net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . Map < java . lang . Long , java . lang . String > IDENT_3 = new net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . HashMap ( ) ; try ( net . IDENT_0 . IDENT_1 . queue . IDENT_4 queue = net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_5 . METHOD_1 ( IDENT_6 . METHOD_2 ( ) ) . build ( ) ) { final net . IDENT_0 . IDENT_1 . queue . IDENT_7 IDENT_8 = queue . METHOD_3 ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { final java . lang . String message = STRING_0 + i ; IDENT_8 . METHOD_4 ( ( IDENT_9 ) -> IDENT_9 . write ( STRING_1 ) . object ( message ) ) ; final long IDENT_10 = IDENT_8 . METHOD_5 ( ) ; IDENT_3 . put ( IDENT_10 , message ) ; } final net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . IDENT_11 random = new net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . METHOD_6 ( INT_0 ) ; final net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . List < java . lang . Long > IDENT_12 = new net . IDENT_0 . IDENT_1 . queue . impl . IDENT_2 . ArrayList ( IDENT_3 . METHOD_7 ( ) ) ; final net . IDENT_0 . IDENT_1 . queue . IDENT_13 IDENT_14 = queue . METHOD_8 ( ) ; final java . util . concurrent . atomic . IDENT_15 < java . lang . String > IDENT_16 = new java . util . concurrent . atomic . METHOD_9 ( ) ; for ( int i = 0 ; i < 100 ; i ++ ) { final long IDENT_17 = IDENT_12 . get ( random . METHOD_10 ( IDENT_3 . METHOD_7 ( ) . size ( ) ) ) ; IDENT_14 . METHOD_11 ( IDENT_17 ) ; IDENT_14 . METHOD_12 ( ( IDENT_9 ) -> IDENT_16 . set ( ( ( java . lang . String ) ( IDENT_9 . read ( STRING_1 ) . object ( ) ) ) ) ) ; "<AssertPlaceHolder>" ; IDENT_14 . METHOD_12 ( ( IDENT_9 ) -> IDENT_9 . read ( STRING_1 ) . object ( ) ) ; } } } get ( IDENT_18 ) { cache . entrySet ( ) . METHOD_13 ( ( entry ) -> ( entry . getValue ( ) . METHOD_14 ( ) ) == 0 ) ; @ org . IDENT_19 . IDENT_20 . IDENT_21 T value = cache . get ( key ) ; if ( ( value == null ) || ( ! ( value . METHOD_15 ( ) ) ) ) { value = IDENT_22 . apply ( key ) ; cache . put ( key , value ) ; } try { return IDENT_23 . apply ( value ) ; } finally { value . METHOD_16 ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_3 . get ( IDENT_17 ) , IDENT_16 . get ( ) )