forked from plusone/plusone-commons
格式化代码。
This commit is contained in:
@@ -59,7 +59,7 @@ public class TreeBuilder<T, TSubTree extends T, TIdentity> {
|
||||
* <p>
|
||||
* <b>注意,该方法会直接操作 nodes 列表中的节点,并没有做深拷贝,
|
||||
* 注意避免 nodes 中的元素产生变化所带来的意料之外的影响。</b>
|
||||
*
|
||||
*
|
||||
* @param nodes 平铺的节点列表
|
||||
*/
|
||||
public List<T> buildTree(Collection<T> nodes) {
|
||||
@@ -72,7 +72,7 @@ public class TreeBuilder<T, TSubTree extends T, TIdentity> {
|
||||
* <p>
|
||||
* <b>!!注意:该方法会直接操作 nodes 列表中的节点,并没有做深拷贝,
|
||||
* 注意避免 nodes 中的元素产生变化所带来的意料之外的影响。</b>
|
||||
*
|
||||
*
|
||||
* @param nodes 平铺的节点列表
|
||||
* @param comparator 用于节点的排序。
|
||||
* 若为 {@code null},则使用 {@link #defaultComparator};
|
||||
@@ -90,7 +90,7 @@ public class TreeBuilder<T, TSubTree extends T, TIdentity> {
|
||||
* <p>
|
||||
* <b>注意,该方法会直接操作 nodes 列表中的节点,并没有做深拷贝,
|
||||
* 注意避免 nodes 中的元素产生变化所带来的意料之外的影响。</b>
|
||||
*
|
||||
*
|
||||
* @param nodes 平铺的节点列表
|
||||
* @param comparator 用于节点的排序。若为 {@code null},则不排序
|
||||
*/
|
||||
|
Reference in New Issue
Block a user