Type listType = new TypeToken<ArrayList<Pwd>>() {}.getType(); 转载于:https://www.cnblogs.com/netcorner/p/5149517.html