Take out a piece of paper and put your name on the upper right corner.
public class HashmapOpen<K, V> {
private Entry<K, V>[] table;
/**
* Associates the value with the given key.
* @param key, the key.
* @parm value, the value.
* @return The previous value associated with the given key.
*/
public V put(K key, V value) {
// your code.
}
private class Entry<K,V> {
K key;
V value;
}
}
Hand in your code when you are done.
Time remaining: