List<Integer> intList = Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8);

List<List<Integer>> subSets = Lists.partition(intList, 3);

 

 

https://blog.csdn.net/PandaWang1989/article/details/72801630

posted on 2019-04-02 14:46  情月  阅读(136)  评论(0编辑  收藏  举报