泛型方法的写法

public static <T> List<T> get(List<T> ts) { for (T t : ts) { System.out.println(JSONObject.toJSONString(t)); } return ts; }
相关文章
相关标签/搜索