void removeComponent ( int index ) { Component component = components . get ( index ) ; components . remove ( index ) ; updateComponentOffsets ( index ) ; position . getAndUpdate ( ( offset ) - > offset - component . length ) ; }
Removes a section from the http data and updates the indices of the remaining components .