示例#1
0
 @Override
 public <T2 extends T> T copyFrom(Holder<T2> other) {
   return this.setData(other.getData());
 }
示例#2
0
 public static <T1 extends T2, T2> T2 copyTo(Holder<T1> h1, Holder<T2> h2) {
   return h2.setData(h1.getData());
 }