/** * */ package dataStructures1112; /** * @author Daniel * */ public class EntryClass implements Entry { /** * */ private static final long serialVersionUID = 1L; private K k; private V v; EntryClass(K k, V v){ this.k = k; this.v = v; } @Override public K getKey() { return k; } @Override public V getValue() { return v; } public void setKey(K key){ this.k = key; } public void setValue(V value){ this.v = value; } }