示例#1
0
文件: Ref2.java 项目: ejconlon/jerial
 public static <X, Y> Ref2<X, Y> makeSecond(Y second) {
   Ref2<X, Y> a = new Ref2();
   a.setSecond(second);
   return a;
 }
示例#2
0
文件: Ref2.java 项目: ejconlon/jerial
 public static <X, Y> Ref2<X, Y> makeFirst(X first) {
   Ref2<X, Y> a = new Ref2();
   a.setFirst(first);
   return a;
 }