“mitao”
2026-03-03 86c03bbc2e288482c57f74cf4e40eee386c132ca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.estate.expert.admin.utils.tree.helper;
 
import com.estate.expert.admin.utils.tree.TreeNode;
 
/**
 * 节点转换器
 */
public interface NodeConvertor<T, K> {
 
    /**
     * 根据当前节点的数据,计算新节点的数据
     */
     K convert(TreeNode<T> node, TreeNode<K> newNode);
 
}