1: // @author Frank M. Carrano, Timothy M. Henry
2: // @version 5.0
3: public V getValue(K key)
4: {
5: checkIntegrity();
6: V result = null;
8: int index = getHashIndex(key);
9: if ((hashTable[index] != null) && (hashTable[index] != AVAILABLE))
10: result = hashTable[index].getValue(); // Key found; get value
11: // Else key not found; return null
13: return result;
14: } // end getValue