question: public long removeIndex ( int index ) { if ( index >= size ) throw new IndexOutOfBoundsException ( String . valueOf ( index ) ) ; long [ ] items = this . items ; long value = items [ index ] ; size -- ; if ( ordered ) System . arraycopy ( items , index + 1 , items , index , size - index ) ; else items [ index ] = items [ size ] ; return value ; }
target:  Removes and returns the item at the specified index. 