Guest User

Untitled

a guest
Oct 21st, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. public class HashTable<K,V> {
  2. private double maxLoad;
  3. private HashNode<K,V> [] table;
  4. private int size;
  5. private HashFunction<K> hashFunc;
  6.  
  7. public HashTable(int tablesize, double maxLoad, HashFunction<K> hashFunc){
  8. this.maxLoad = maxLoad;
  9. this.hashFunc = hashFunc;
  10. tablesize = 89;
  11. table = new HashNode [tablesize];
  12. maxLoad = .7;
  13. hashFunc = (HashFunction<K>) new JavaHash();
  14. }
  15. public HashTable(){
  16.  
  17. }
  18. public HashTable(HashFunction<K> hashFunc){
  19.  
  20. }
Add Comment
Please, Sign In to add comment