Exemplo n.º 1
0
 /**
  * Returns value associated with key k in bucket with hash value h. If no such entry exists,
  * returns null.
  *
  * @param h the hash value of the relevant bucket
  * @param k the key of interest
  * @return associate value (or null, if no such entry)
  */
 @Override
 protected V bucketGet(int h, K k) {
   UnsortedTableMap<K, V> bucket = table[h];
   if (bucket == null) return null;
   return bucket.get(k);
 }