Java——泛型機制

package day04; public class TypeDemo<T> { private T x; public TypeDemo(T d) { this.x = d; } public T getX() { return x; } public void setX(T x) { this.x = x; } public String toString(
相關文章
相關標籤/搜索