METHOD_0 ( ) { java . util . concurrent . atomic . IDENT_0 < java . util . Optional < java . lang . Integer > > IDENT_1 = new java . util . concurrent . atomic . METHOD_1 ( ) ; io . IDENT_2 . future . IDENT_3 < java . lang . Integer > l = io . IDENT_2 . future . IDENT_3 . apply ( ) ; l . update ( 1 ) ; io . IDENT_2 . future . IDENT_4 < java . lang . Integer > p = io . IDENT_2 . future . IDENT_4 . apply ( ( ex ) -> { } , ( ex ) -> { } ) ; l . update ( 2 ) ; p . METHOD_2 ( ( ) -> IDENT_1 . set ( l . get ( ) ) ) ; p . setValue ( 1 ) ; "<AssertPlaceHolder>" ; } get ( ) { final java . util . Optional < ? > [ ] ctx = io . IDENT_2 . future . IDENT_3 . IDENT_5 . get ( ) ; if ( ( ctx == null ) || ( ( ctx . length ) <= ( position ) ) ) return java . util . Optional . empty ( ) ; final java . util . Optional < ? > v = ctx [ position ] ; if ( v == null ) return java . util . Optional . empty ( ) ; else return ( ( java . util . Optional < T > ) ( v ) ) ; }
org . junit . Assert . assertEquals ( java . util . Optional . of ( 1 ) , IDENT_1 . get ( ) )