@Test public void insert_given2TimesSameKey_thenOverridesValue() { test.insert(keys[0], 123); test.insert(keys[0], 124); Assert.assertFalse(tableContains(123)); Assert.assertTrue(tableContains(124)); }
public boolean insert(K k, V v) { return false; }
DoubleHashTable { public boolean insert(K k, V v) { return false; } }
DoubleHashTable { public boolean insert(K k, V v) { return false; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); }
DoubleHashTable { public boolean insert(K k, V v) { return false; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); boolean insert(K k, V v); Optional<V> find(K k); int collisions(); int maxRehashes(); }
DoubleHashTable { public boolean insert(K k, V v) { return false; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); boolean insert(K k, V v); Optional<V> find(K k); int collisions(); int maxRehashes();  }