package church.util; public class Entry<K, V> { public final K key; public final V value; private Entry(K key, V value) { this.key = key; this.value = value; } public static <K, V> Entry<K, V> entry(K key, V value) { return new Entry<>(key, value); } }