public long get(long key) {
    		int hash = hashFn(key);
          int initialHash = -1;
          while (hash != initialHash
                      && (table[hash] == DeletedEntry.getUniqueDeletedEntry()
                      || table[hash] != null
                      && table[hash].getKey() != key)) {
                if (initialHash == -1)
                      initialHash = hash;
                hash = (hash + 1) % table.length;
          }
          if (table[hash] == null || hash == initialHash)
                return -1;
          else
                return table[hash].getValue();
    }