| 程序包 | 说明 |
|---|---|
| cn.hutool.core.collection |
集合以及Iterator封装,包括集合工具CollUtil,Iterator和Iterable工具IterUtil
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> List<List<T>> |
CollUtil.group(Collection<T> collection,
CollUtil.Hash<T> hash)
分组,按照
CollUtil.Hash接口定义的hash算法,集合中的元素放入hash值对应的子列表中 |
Copyright © 2019. All rights reserved.