@Test public void hash_givenDifferentI_returnsDifferentValues() { Assert.assertNotEquals(hash(keys[0], 0), hash(keys[0], 1)); }
private int hash(K key, int i) { return -2; }
DoubleHashTable { private int hash(K key, int i) { return -2; } }
DoubleHashTable { private int hash(K key, int i) { return -2; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); }
DoubleHashTable { private int hash(K key, int i) { return -2; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); boolean insert(K k, V v); Optional<V> find(K k); int collisions(); int maxRehashes(); }
DoubleHashTable { private int hash(K key, int i) { return -2; } DoubleHashTable(int primeSize, HashableFactory<K> hashableFactory); boolean insert(K k, V v); Optional<V> find(K k); int collisions(); int maxRehashes();  }