摘要: 关于“通过反射获得泛型的参数化类型”的问题:下面是张老师 通过反射获得泛型的参数化类型的一段代码import java.util.*;import java.lang.reflect.*;public class GenericalReflection {private Vector<Date> dates = new Vector<Date>();public void setDates(Vector<Date> dates) {this.dates = dates;}private static void applyGeneric(Vector<S 阅读全文
posted @ 2012-10-02 11:42 昨天.今天.明天 阅读(4389) 评论(0) 推荐(0) 编辑