/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework7;
import java.util.*;

/**
 *
 * @author kvaradar
 */
public interface MyMap<K,V> {
    /* This corresponds to the map ADT in Section 9.1.1. Please
     * see that section for the meaning of these methods
     */

    int size();
    boolean isEmpty();
    V get(K k);
    V put(K k, V v);
    V remove(K k);
    Collection<K> keySet();
    Collection<V> values();
    Collection<MyEntry<K,V>> entrySet();

}
