Skip to content
Snippets Groups Projects
Commit f92f9298 authored by Youssef Ben's avatar Youssef Ben
Browse files

Added List of Primes in CHT

parent 0dfa59ef
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@ import java.util.function.Supplier;
public class ChainingHashTable<K, V> extends DeletelessDictionary<K, V> {
private Supplier<Dictionary<K, V>> newChain;
static final int[] PRIME_SIZES =
{11, 23, 47, 97, 193, 389, 773, 1549, 3089, 6173, 12347, 24697, 49393, 98779, 197573, 395147};
public ChainingHashTable(Supplier<Dictionary<K, V>> newChain) {
this.newChain = newChain;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment