METHOD_0 ( ) { impl = new org . IDENT_0 . IDENT_1 . METHOD_1 ( ( INT_0 * INT_1 ) , java . util . concurrent . TimeUnit . IDENT_2 ) ; long now = java . lang . System . currentTimeMillis ( ) ; impl . METHOD_2 ( 7 , ( now - ( INT_2 * INT_3 ) ) ) ; impl . METHOD_2 ( INT_4 , now ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( int , java . util . ArrayList ) { if ( ( values == null ) || ( ( values . size ( ) ) == 0 ) ) { return 0.0 ; } java . util . Collections . METHOD_4 ( values ) ; java . lang . Double [ ] IDENT_3 = values . toArray ( new java . lang . Double [ values . size ( ) ] ) ; double IDENT_4 = ( ( ( ( double ) ( IDENT_5 ) ) / FLOAT_0 ) * ( ( values . size ( ) ) - 1 ) ) + 1 ; double IDENT_6 ; int IDENT_7 = ( ( int ) ( IDENT_4 ) ) ; double IDENT_8 = IDENT_4 - IDENT_7 ; if ( IDENT_8 > 0 ) { double IDENT_9 = IDENT_3 [ ( IDENT_7 - 1 ) ] ; double IDENT_10 = IDENT_3 [ IDENT_7 ] ; IDENT_6 = ( IDENT_8 * ( IDENT_10 - IDENT_9 ) ) + IDENT_9 ; } else { IDENT_6 = IDENT_3 [ ( IDENT_7 - 1 ) ] ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( INT_4 , impl . METHOD_3 ( 50 , ( now + 1 ) ) )