METHOD_0 ( ) { java . util . List < java . lang . Long > IDENT_0 = com . google . common . collect . Lists . newArrayList ( java . util . stream . IDENT_1 . range ( 0L , INT_0 ) . iterator ( ) ) ; java . util . concurrent . atomic . IDENT_2 IDENT_3 = new java . util . concurrent . atomic . METHOD_1 ( 0L ) ; java . util . function . IDENT_4 < java . lang . Long , java . util . concurrent . IDENT_5 < java . lang . Long > > IDENT_6 = ( value ) -> { if ( value < 5 ) { IDENT_3 . METHOD_2 ( value ) ; return org . apache . IDENT_7 . common . concurrent . IDENT_8 . value ( ( 2 * value ) ) ; } else { return org . apache . IDENT_7 . common . concurrent . IDENT_8 . exception ( new org . apache . IDENT_7 . common . concurrent . METHOD_3 ( ) ) ; } } ; java . util . concurrent . IDENT_5 < java . util . List < java . lang . Long > > IDENT_9 = org . apache . IDENT_7 . common . concurrent . IDENT_8 . METHOD_4 ( IDENT_0 , IDENT_6 , null ) ; try { org . apache . IDENT_7 . common . concurrent . IDENT_8 . result ( IDENT_9 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( org . apache . IDENT_7 . common . concurrent . IDENT_10 . METHOD_3 IDENT_11 ) { } "<AssertPlaceHolder>" ; } get ( ) { while ( true ) { try { return IDENT_12 . get ( 100 , TimeUnit . IDENT_13 ) ; } catch ( java . lang . IDENT_14 e ) { log . warn ( STRING_1 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_15 e ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } catch ( java . util . concurrent . IDENT_16 e ) { continue ; } } }
org . junit . Assert . assertEquals ( INT_0 , IDENT_3 . get ( ) )