lab/lab9/lab9/MyHashMap.java
@Override
    public void put(K key, V value) {

        if (this.buckets[hash(key)].containsKey(key)) {
            this.buckets[hash(key)].put(key, value);
        } else {
            this.buckets[hash(key)].put(key, value);
            size += 1;
        }

        // size += this.buckets[hash(key)].size;
        // throw new UnsupportedOperationException();
    }
/* Associates the specified value with the specified key in this map. */
Associates the specified value with the specified key in this map.
Associates the specified value with the specified key in this map .
@Override
    public void put(K key, V value) {
        if (this.buckets[hash(key)].containsKey(key)) {
            this.buckets[hash(key)].put(key, value);
        } else {
            this.buckets[hash(key)].put(key, value);
            size += 1;
        }
    }
@ Override public void put ( K key , V value ) { if ( this . buckets [ hash ( key ) ] . containsKey ( key ) ) { this . buckets [ hash ( key ) ] . put ( key , value ) ; } else { this . buckets [ hash ( key ) ] . put ( key , value ) ; size += 1 ; } }
Associates the specified value with the specified key in this map.
Associates the specified value with the specified key in this map .
// size += this.buckets[hash(key)].size; // throw new UnsupportedOperationException();