package utilities;

public class Pair<A, B> {

	private final A a;
	private final B b;

	public Pair(A a, B b) {
		this.a = a;
		this.b = b;
	}

	public A getA() {
		return a;
	}

	public B getB() {
		return b;
	}
}

@@ -81,16 +81,97 @@
 l B b;%0A%0A
+%09public static%3CA,B%3E Pair%3CA, B%3E of(A a, B b) %7B%0A%09%09return new Pair%3CA, B%3E(a, b);%0A%09%7D%0A%0A
 %09public 

Improve API for Pair class.