public V find(K key){
     for (int i = getHashValue(key); table[i] != null; i = (i + 1) % thesize)
           if (table[i].key == key)
               return table[i].value;
    //if the key not found
          System.out.println(" Could not find '" + key.toString() +"'s value");
        return null;
The find method supposed to return key's value but it doesn't. I can't understand where is the mistake. I used (==) but still not working. I would appreciate for the help.
 
    