public V get(K key) {
            if (key == null) return null;
            int hash = getHashCode(key);
            LinkedList<Item<K, V>> bucket = buckets[hash];
            if (bucket == null) return null;
            for (Item<K, V> item : bucket) {
                if (item.getKey().equals(key)) return item.getValue();
            }
            return null;
        }