METHOD_0 ( ) { org . IDENT_0 . buffer . IDENT_1 r = new org . IDENT_0 . buffer . METHOD_1 ( ) ; r . add ( 0 , 1 , 2 , 4 , 6 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( short ) { int index = org . IDENT_0 . IDENT_2 . METHOD_3 ( IDENT_3 , 0 , IDENT_4 , IDENT_5 ) ; int IDENT_6 = ( index >= 0 ) ? index : ( - index ) - 2 ; if ( IDENT_6 == ( - 1 ) ) { return first ( ) ; } int IDENT_7 = org . IDENT_0 . IDENT_8 . METHOD_4 ( getValue ( IDENT_6 ) ) ; int value = org . IDENT_0 . IDENT_8 . METHOD_4 ( IDENT_5 ) ; int offset = value - IDENT_7 ; int IDENT_9 = org . IDENT_0 . IDENT_8 . METHOD_4 ( METHOD_5 ( IDENT_6 ) ) ; if ( offset <= IDENT_9 ) { return value ; } if ( ( IDENT_6 + 1 ) < ( METHOD_6 ( ) ) ) { return org . IDENT_0 . IDENT_8 . METHOD_4 ( getValue ( ( IDENT_6 + 1 ) ) ) ; } return - 1 ; }
org . junit . Assert . assertEquals ( ( - 1 ) , r . METHOD_2 ( 7 ) )