2019.4.20

    技术2022-07-10  150

    2019.4.20

    @Override public void remove(K key) { int startIndex = hash(key.hashCode()); int jump = 1; while(table[startIndex] != null){ if(table[startIndex].getKey().equals(key)){ table[startIndex] = null; size--; break; } startIndex = (startIndex + jump*jump) % capacity; jump++; } }

    Processed: 0.008, SQL: 9