解析字符串为泛型的方法

Type listType = new TypeToken<ArrayList<Pwd>>() {}.getType();

 

posted @ 2016-01-21 20:37  netcorner  阅读(477)  评论(0)    收藏  举报