11 2019 档案

摘要:public static <T> Map<Integer, List<T>> spiltList(List<T> list, int num) { Map<Integer,List<T>> map = new HashMap<>(num) ; int length =list.size()/num 阅读全文
posted @ 2019-11-01 11:23 理葵 阅读(580) 评论(2) 推荐(0)
摘要:public static void main(String[] args) { List<Integer> list = Arrays.asList(1,2,3,4,5,6,7,8); List<List<Integer>> lists = Lists.partition(list,5);//co 阅读全文
posted @ 2019-11-01 11:22 理葵 阅读(527) 评论(0) 推荐(0)

希望写博是我人生坚持在做的事情之一。