public class Pair { public T first; public U second; public Pair(T t, U u) { first = t; second = u; } }