title: Double Hashing java
body: <pre><code>public class HashTable &lt;K, V&gt; implements Table&lt;K, V&gt;{
  int idx;
  PairHolder table[];
  public HashTable(int size){
      table=new PairHolder[size];
  }
  public void put(K key, V value) {
      int hVal = key.hashCode();  
      int hashVal = hashFunc1(hVal);
      int stepSize = hashFunc2(hVal);
  
      while(table[index]!=null&amp;&amp;table[index].getFirst() != null){
  
          index += temp;
          index %=table.length;
      }
      table[index].value=value;
  }
  public int hashFunc1(int key){
      int abs = Math.abs(key%table.length);
      return abs;
  }
  
  public int hashFunc2(int key){
      int abs = Math.abs(5-key%5);
      return abs;
  }
  </code></pre>
  
  <p>I am having a really hard time with double hashing.  Any help to complete this code to double hash would be great.  </p>