public static <X, Y> Ref2<X, Y> makeSecond(Y second) { Ref2<X, Y> a = new Ref2(); a.setSecond(second); return a; }
public static <X, Y> Ref2<X, Y> makeFirst(X first) { Ref2<X, Y> a = new Ref2(); a.setFirst(first); return a; }