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