code: public int findNode(int element) {
  		int hash = m_hash.getHash(element);
  		int ptr = getFirstInBucket(hash);
  		while (ptr != -1) {
  			int e = m_lists.getElement(ptr);
  			if (m_hash.equal(e, element)) {
  				return ptr;
  			}
  			ptr = m_lists.getNext(ptr);
  		}
  
  		return -1;
  
  	}
docs: the given one.