public short remove(short key) {
        short index = findKey(key);
        if(index == -1) {
            return -1;
        }

        short hashcode = (short)((key & 0x7fff) % capacity);
        indexer.remove(hashcode, index);

        return index;
    }
Removes the key from the table.
@param key the key to remove.
@return index of the key if the key was found, -1 if
key did not exist in the table
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ShortKeyIndexer.java