标签:java style extends nal his first 编程 ext span
//来自java编程思想
public class TwoTuple<A, B> { public final A first; public final B second; public TwoTuple(A a, B b) { this.first = a; this.second = b; } }
public class ThreeTuple<A, B, C> extends TwoTuple<A, B> { public final C third; public ThreeTuple(A a, B b, C c) { super(a, b); this.third = c; } }
待续。。
标签:java style extends nal his first 编程 ext span
原文地址:http://www.cnblogs.com/chenglc/p/7467857.html