/**
* Base class for Element, which contains a pair of key and value.
*/
package Midterm.Q1;
public class Element
public T key;
public Object value;
public Element(T key, Object value){
this.key = key;
this.value = value;
}
}