添加注释说明。

dev
ZhouXY108 2024-08-08 14:55:42 +08:00
parent 0850e765c8
commit 566202ce47
1 changed files with 2 additions and 1 deletions

View File

@ -54,13 +54,14 @@ public class TreeBuilder<T, TSubTree extends T, TIdentity> {
/**
*
* <p>
* <b> nodes
* <b> nodes
* nodes </b>
*
* @param nodes
* @param comparator
* {@code null}使 {@link #defaultComparator}
* {@link #defaultComparator} {@code null}
* <b> addChild </b>
*/
public List<T> buildTree(Collection<T> nodes, @Nullable Comparator<? super T> comparator) {
Preconditions.checkNotNull(nodes);