private void removeEntry ( int entry , int keyHash , int valueHash ) { checkArgument ( entry != ABSENT ) ; deleteFromTableKToV ( entry , keyHash ) ; deleteFromTableVToK ( entry , valueHash ) ; int oldPredecessor = prevInInsertionOrder [ entry ] ; int oldSuccessor = nextInInsertionOrder [ entry ] ; setSucceeds ( oldPredecessor , oldSuccessor ) ; moveEntryToIndex ( size - 1 , entry ) ; keys [ size - 1 ] = null ; values [ size - 1 ] = null ; size -- ; modCount ++ ; }
Removes the entry at the specified index given the hash of its key and value .