Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class HashTable<K,V> {
- private double maxLoad;
- private HashNode<K,V> [] table;
- private int size;
- private HashFunction<K> hashFunc;
- public HashTable(int tablesize, double maxLoad, HashFunction<K> hashFunc){
- this.maxLoad = maxLoad;
- this.hashFunc = hashFunc;
- tablesize = 89;
- table = new HashNode [tablesize];
- maxLoad = .7;
- hashFunc = (HashFunction<K>) new JavaHash();
- }
- public HashTable(){
- }
- public HashTable(HashFunction<K> hashFunc){
- }
Add Comment
Please, Sign In to add comment