CMSC 420 Section 0401 - Programming Assignment 1, Part A
Due Feb. 21, 8:00AM

Part A - Hash table handling collisions by double hashing

Write class HashTable which extends AbstractHashTable. It should support the following functionality (see description below):

public class HashTable extends AbstractHashTable {
	public HashTable (int tableSize);
	private HashTable ();
	public int getSize ();

	public void setHashArgument (int a);
	public void setMADArguments (int a, int b);
	public int hashValue (String key);
	public int probeHashValue (String key);

	public int probeCount; // don't need to declare, inherited from AbstractHashTable.
	public boolean put (String key, Object value);
	public boolean containsKey (String key);
	public boolean remove (String key);
    }

Grading:

Submission:

Web Accessibility