| 程序包 | 说明 |
|---|---|
| shz.model |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TreeNode<T extends TreeNode<T>>
树结构节点
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,K,T extends TreeNode<T>,R> |
TreeNode.group(List<E> list,
BiFunction<K,List<T>,T> mapper,
BiFunction<K,R,T> lastMapper,
Collector<E,?,R> lastCollector,
Function<E,K>... classifiers)
获取分组树
|
static <T extends TreeNode<T>> |
TreeNode.merge(List<T> nodes,
List<T> otherNodes,
BiFunction<T,T,T> merger)
合并分组树
|
static <T extends TreeNode<T>> |
TreeNode.sort(List<T> nodes,
Comparator<T> comparator)
排序分组树
|
Copyright © 2022. All rights reserved.