摘要: 1、数组转换成List public static <T> List<T> asList(T... a) String[] arr = new String[] {"str1", "str2"}; 2、List转换成数组 public Object[] toArray() public <T> T[ 阅读全文
posted @ 2016-10-20 13:41 对我有点小自信 阅读(214) 评论(0) 推荐(0) 编辑