// onjava/Pair.java package onjava; public class Pair { public final K key; public final V value; public Pair(K k, V v) { key = k; value = v; } }