Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addChild(DefaultTreeNode) - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Add child node 添加子节点
- addChild(TreeNode) - Method in class cloud.opencode.base.tree.TreeNode
- addChild(T) - Method in class cloud.opencode.base.tree.TreeNode
- added() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns the value of the
addedrecord component. - append(T) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Append node to path 向路径追加节点
- avgBranchingFactor() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
avgBranchingFactorrecord component.
B
- breadthFirstIterator(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a breadth-first iterator 创建广度优先迭代器
- breadthFirstStream(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a breadth-first stream 创建广度优先流
- build() - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- build() - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Build the virtual tree node 构建虚拟树节点
- build(Collection, Function, Function) - Static method in class cloud.opencode.base.tree.OpenTree
- build(Collection, Function, Function) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Build tree from flat list 从扁平列表构建树
- build(List) - Static method in class cloud.opencode.base.tree.builder.ConcurrentTreeBuilder
-
Build tree concurrently 并发构建树
- build(List, ID) - Static method in class cloud.opencode.base.tree.builder.ConcurrentTreeBuilder
-
Build tree concurrently with root ID 使用根ID并发构建树
- BUILD_FAILED - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- builder() - Static method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Create builder for configuration 创建配置构建器
- builder() - Static method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Create a virtual tree node with builder 使用构建器创建虚拟树节点
- Builder() - Constructor for class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- Builder() - Constructor for class cloud.opencode.base.tree.virtual.VirtualTree.Builder
- buildFailed(String) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a build-failed exception 创建构建失败异常
- buildFromMap(Map, String) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Build from nested map structure 从嵌套映射结构构建
- buildFromMap(Map, String, int) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Build from nested map structure with depth limit 从嵌套映射结构构建(带深度限制)
- buildLarge(List, ID, int) - Static method in class cloud.opencode.base.tree.builder.ConcurrentTreeBuilder
-
Build large tree with parallel processing 使用并行处理构建大型树
- buildSingle(Collection, Function, Function) - Static method in class cloud.opencode.base.tree.OpenTree
- buildSingle(Collection, Function, Function) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Build single rooted tree 构建单根树
- buildTree(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Build tree from flat list (default root detection) 从扁平列表构建树(默认根节点检测)
- buildTree(List, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Build tree from flat list with specified root ID 从扁平列表构建树(指定根节点ID)
- buildTreeFromMaps(List, String, String, String) - Static method in class cloud.opencode.base.tree.OpenTree
-
Build tree from maps 从Map列表构建树
- buildTreeSorted(List, ID, Comparator) - Static method in class cloud.opencode.base.tree.OpenTree
-
Build sorted tree 构建排序树
C
- cacheEnabled(boolean) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Enable or disable cache 启用或禁用缓存
- cacheHits() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns the value of the
cacheHitsrecord component. - cacheMisses() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns the value of the
cacheMissesrecord component. - CacheStats(int, int, long, long, long) - Constructor for record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Creates an instance of a
CacheStatsrecord class. - cause() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Returns the value of the
causerecord component. - checkNoCycle(List) - Static method in class cloud.opencode.base.tree.validation.CycleDetector
-
Check for cycle and throw if found 检查循环,如果发现则抛出异常
- childLoader(LazyChildLoader) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set child loader 设置子节点加载器
- children() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns the value of the
childrenrecord component. - childrenField() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
childrenFieldrecord component. - childrenField(String) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- clearCache() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Clear cache 清除缓存
- clearChildren() - Method in class cloud.opencode.base.tree.TreeNode
- cloud.opencode.base.tree - module cloud.opencode.base.tree
-
OpenCode Base Tree Module OpenCode 基础树模块
- cloud.opencode.base.tree - package cloud.opencode.base.tree
- cloud.opencode.base.tree.builder - package cloud.opencode.base.tree.builder
- cloud.opencode.base.tree.diff - package cloud.opencode.base.tree.diff
- cloud.opencode.base.tree.exception - package cloud.opencode.base.tree.exception
- cloud.opencode.base.tree.operation - package cloud.opencode.base.tree.operation
- cloud.opencode.base.tree.path - package cloud.opencode.base.tree.path
- cloud.opencode.base.tree.result - package cloud.opencode.base.tree.result
- cloud.opencode.base.tree.serialization - package cloud.opencode.base.tree.serialization
- cloud.opencode.base.tree.traversal - package cloud.opencode.base.tree.traversal
- cloud.opencode.base.tree.validation - package cloud.opencode.base.tree.validation
- cloud.opencode.base.tree.virtual - package cloud.opencode.base.tree.virtual
- code() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns the value of the
coderecord component. - collect(List) - Method in interface cloud.opencode.base.tree.traversal.TreeTraversal
-
Collect all nodes 收集所有节点
- ConcurrentTreeBuilder - Class in cloud.opencode.base.tree.builder
-
Concurrent Tree Builder 并发树构建器
- contains(List, ID) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Check if tree contains node with ID 检查树是否包含指定ID的节点
- contains(T) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Check if path contains node 检查路径是否包含节点
- CONTINUE - Enum constant in enum class cloud.opencode.base.tree.TreeTraverser.TraversalControl
-
Continue to children | 继续到子节点
- convert(List) - Static method in class cloud.opencode.base.tree.builder.ListToTreeConverter
-
Convert list to tree 列表转树
- convert(List, ID) - Static method in class cloud.opencode.base.tree.builder.ListToTreeConverter
-
Convert list to tree with root ID 使用根ID将列表转树
- convert(List, Function, Function, Function) - Static method in class cloud.opencode.base.tree.builder.ListToTreeConverter
-
Convert using extractors 使用提取器转换
- convertSorted(List, ID, Comparator) - Static method in class cloud.opencode.base.tree.builder.ListToTreeConverter
-
Convert list to tree with comparator 使用比较器将列表转树
- count(List) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Count all nodes 统计所有节点
- currentSize() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns the value of the
currentSizerecord component. - CYCLE_DETECTED - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- CycleDetectedException - Exception Class in cloud.opencode.base.tree.exception
-
Cycle Detected Exception 循环检测异常
- CycleDetectedException(String) - Constructor for exception class cloud.opencode.base.tree.exception.CycleDetectedException
- CycleDetectedException(String, List) - Constructor for exception class cloud.opencode.base.tree.exception.CycleDetectedException
- CycleDetectedException(List) - Constructor for exception class cloud.opencode.base.tree.exception.CycleDetectedException
- CycleDetector - Class in cloud.opencode.base.tree.validation
-
Cycle Detector 循环检测器
D
- data() - Method in record class cloud.opencode.base.tree.result.TreeResult.Success
-
Returns the value of the
datarecord component. - data() - Method in record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Returns the value of the
datarecord component. - data(T) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set node data 设置节点数据
- defaultConfig() - Static method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Create default configuration 创建默认配置
- DefaultTreeNode<ID> - Class in cloud.opencode.base.tree
-
Default Tree Node 默认树节点
- DefaultTreeNode() - Constructor for class cloud.opencode.base.tree.DefaultTreeNode
-
Create empty node 创建空节点
- DefaultTreeNode(ID) - Constructor for class cloud.opencode.base.tree.DefaultTreeNode
-
Create node with ID 使用ID创建节点
- DefaultTreeNode(ID, ID, String) - Constructor for class cloud.opencode.base.tree.DefaultTreeNode
-
Create node with ID, parentId and name 使用ID、父ID和名称创建节点
- depth() - Method in record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Returns the value of the
depthrecord component. - depth(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Calculate tree depth 计算树深度
- DepthLimitedTraversal - Class in cloud.opencode.base.tree.traversal
-
Depth-Limited Traversal 深度限制遍历
- DepthLimitedTraversal(int) - Constructor for class cloud.opencode.base.tree.traversal.DepthLimitedTraversal
- diff(List, List) - Static method in class cloud.opencode.base.tree.diff.TreeDiff
-
Compare two trees by ID 通过ID比较两棵树
- diff(List, List, BiPredicate) - Static method in class cloud.opencode.base.tree.diff.TreeDiff
-
Compare two trees with custom equality 使用自定义相等性比较两棵树
- diffByKey(List, List, Function, BiPredicate) - Static method in class cloud.opencode.base.tree.diff.TreeDiff
-
Compare using custom key extractor 使用自定义键提取器比较
- DUPLICATE_ID - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- duplicateId(Object) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a duplicate-id exception 创建重复ID异常
E
- empty() - Static method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Create empty result 创建空结果
- empty() - Static method in record class cloud.opencode.base.tree.path.TreePath
-
Create empty path 创建空路径
- empty() - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create an empty result 创建空结果
- Empty() - Constructor for record class cloud.opencode.base.tree.result.TreeResult.Empty
-
Creates an instance of a
Emptyrecord class. - equals(Object) - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.result.TreeResult.Empty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.result.TreeResult.Success
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Indicates whether some other object is "equal to" this one.
- error(String, String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create an error violation 创建错误违规
- ERROR - Enum constant in enum class cloud.opencode.base.tree.result.TreeResult.Violation.Severity
-
Error severity - operation should fail 错误严重程度 - 操作应该失败
- errors() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Returns the value of the
errorsrecord component. - extractAll(List, Function) - Static method in class cloud.opencode.base.tree.operation.TreeMapper
-
Extract values from tree 从树中提取值
- extractSubtree(List, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Extract the subtree rooted at the node with the given ID 提取以给定ID节点为根的子树
- extractSubtree(List, ID) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Extract the subtree rooted at the node with the given ID 提取以给定ID节点为根的子树
F
- failure(String) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a failure result 创建失败结果
- failure(String, Throwable) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a failure result with cause 创建带原因的失败结果
- failure(List) - Static method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
- Failure(String, Throwable) - Constructor for record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Compact constructor 紧凑构造函数
- field() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns the value of the
fieldrecord component. - fieldExtractor() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
fieldExtractorrecord component. - fieldExtractor(Function) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- filter(Predicate) - Method in class cloud.opencode.base.tree.TreeNode
- filter(List, Predicate) - Static method in class cloud.opencode.base.tree.OpenTree
-
Filter tree (keep matching nodes and their ancestors) 过滤树(保留匹配节点及其祖先)
- filter(List, Predicate) - Static method in class cloud.opencode.base.tree.operation.TreeFilter
-
Filter tree, keeping matching nodes and their ancestors 过滤树,保留匹配节点及其祖先
- filterByDepth(List, int) - Static method in class cloud.opencode.base.tree.operation.TreeFilter
-
Filter by depth 按深度过滤
- filterFlat(List, Predicate) - Static method in class cloud.opencode.base.tree.operation.TreeFilter
-
Filter only matching nodes (no ancestor preservation) 仅过滤匹配节点(不保留祖先)
- filterWithAncestors(List, Predicate) - Static method in class cloud.opencode.base.tree.operation.TreeFilter
-
Filter tree keeping ancestors of matching nodes 过滤树保留匹配节点的祖先
- find(ID) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Find node by ID (searches tree recursively) 通过ID查找节点(递归搜索树)
- find(Predicate) - Method in class cloud.opencode.base.tree.TreeNode
- find(List, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Find node by ID 按ID查找节点
- find(List, Predicate) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Find node by predicate 通过谓词查找节点
- findAll(Predicate) - Method in class cloud.opencode.base.tree.TreeNode
- findAll(Predicate) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Find all nodes matching predicate 查找所有匹配谓词的节点
- findAll(List, Predicate) - Static method in class cloud.opencode.base.tree.OpenTree
-
Find all nodes matching predicate 查找所有满足条件的节点
- findAll(List, Predicate) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Find all nodes matching predicate 查找所有匹配谓词的节点
- findAllLeafPaths(List) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find paths to all leaf nodes 查找到所有叶子节点的路径
- findAllPaths(List, Predicate) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find all paths to matching nodes 查找到所有匹配节点的路径
- findById(List, ID) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Find node by ID 通过ID查找节点
- findCyclePath(List) - Static method in class cloud.opencode.base.tree.validation.CycleDetector
-
Detect cycle and return path 检测循环并返回路径
- findInCache(ID) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Find node by ID in cache 从缓存中查找节点
- findLCA(List, ID, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Find lowest common ancestor of two nodes by ID 通过ID查找两个节点的最近公共祖先
- findLowestCommonAncestor(TreeNode, TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Finds lowest common ancestor 查找最近公共祖先
- findLowestCommonAncestor(List, ID, ID) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find lowest common ancestor of two nodes by ID 通过ID查找两个节点的最近公共祖先
- findLowestCommonAncestor(List, Predicate, Predicate) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find lowest common ancestor of two nodes by predicates 通过谓词查找两个节点的最近公共祖先
- findPath(List, Predicate) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find path to node matching predicate 查找到匹配谓词的节点的路径
- findPathById(List, ID) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Find path to node by ID 通过ID查找到节点的路径
- flatMap(TreeNode, Function) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Flat maps tree to stream 扁平映射树到流
- flatMap(Function) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Transform the value with a function that returns a TreeResult 使用返回TreeResult的函数转换值
- flatten(TreeNode) - Static method in class cloud.opencode.base.tree.OpenTree
- flatten(TreeNode) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Flatten tree to list 将树展平为列表
- flatten(List) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Flatten tree to list 将树扁平化为列表
- flattenTree(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Flatten tree to list 将树扁平化为列表
- flattenWithDepth(TreeNode) - Static method in class cloud.opencode.base.tree.OpenTree
- flattenWithDepth(TreeNode) - Static method in class cloud.opencode.base.tree.TreeBuilder
-
Flatten tree to list with depth info 将树展平为带深度信息的列表
- fold(Function, Function, Supplier, Function) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Fold the result into a single value 将结果折叠为单个值
- foldBottomUp(TreeNode, Function, BiFunction) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Folds tree bottom-up 自底向上折叠树
- forEachBreadthFirst(Consumer) - Method in class cloud.opencode.base.tree.TreeNode
- forEachPostOrder(Consumer) - Method in class cloud.opencode.base.tree.TreeNode
- forEachPreOrder(Consumer) - Method in class cloud.opencode.base.tree.TreeNode
- fromCallable(Callable) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a result from a callable 从Callable创建结果
- fromMap(Map, String) - Static method in class cloud.opencode.base.tree.OpenTree
- fromNullable(T) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a result from nullable value 从可空值创建结果
- fromOptional(Optional) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a result from Optional 从Optional创建结果
G
- get(int) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get node at index 获取指定索引的节点
- get(String) - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Get extra attribute 获取额外属性
- get(String, V) - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Get extra attribute with default 获取额外属性(带默认值)
- getAddedCount() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Get added count 获取新增数量
- getAncestorIds(List, ID) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Get ancestor IDs for a node 获取节点的祖先ID列表
- getAncestors() - Method in class cloud.opencode.base.tree.TreeNode
- getAncestors(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Gets ancestors from parent to root 获取从父节点到根节点的祖先
- getCacheStats() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Get cache statistics 获取缓存统计
- getChildCount() - Method in class cloud.opencode.base.tree.TreeNode
- getChildCount() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Get child count without loading all children 获取子节点数量(不加载所有子节点)
- getChildren() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getChildren() - Method in interface cloud.opencode.base.tree.Treeable
-
Get the children list 获取子节点列表
- getChildren() - Method in class cloud.opencode.base.tree.TreeNode
- getChildren() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
- getCode() - Method in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- getCode() - Method in exception class cloud.opencode.base.tree.exception.TreeException
-
Gets the tree-specific error code 获取树特定的错误码
- getCombinedMessage() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Get the combined error message 获取组合错误消息
- getCyclePath() - Method in exception class cloud.opencode.base.tree.exception.CycleDetectedException
-
Get the cycle path 获取循环路径
- getData() - Method in class cloud.opencode.base.tree.TreeNode
- getData() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Get the node data 获取节点数据
- getDepth() - Method in class cloud.opencode.base.tree.TreeNode
- getDepth(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Gets the depth of a node 获取节点深度
- getDepth(List, ID) - Static method in class cloud.opencode.base.tree.path.PathFinder
-
Get depth of node 获取节点深度
- getDescendants() - Method in class cloud.opencode.base.tree.TreeNode
- getDescendants(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Gets all descendants 获取所有后代
- getErrorMessage() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
- getErrors() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Get error violations 获取错误违规
- getExtra() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getHeight() - Method in class cloud.opencode.base.tree.TreeNode
- getId() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getId() - Method in interface cloud.opencode.base.tree.Treeable
-
Get the node ID 获取节点ID
- getId() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
- getInstance() - Static method in class cloud.opencode.base.tree.traversal.IterativeTraversal
- getInstance() - Static method in class cloud.opencode.base.tree.traversal.LevelOrderTraversal
- getInstance() - Static method in class cloud.opencode.base.tree.traversal.PostOrderTraversal
- getInstance() - Static method in class cloud.opencode.base.tree.traversal.PreOrderTraversal
- getLeaves() - Method in class cloud.opencode.base.tree.TreeNode
- getLeaves(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Get all leaf nodes 获取所有叶子节点
- getLeaves(List) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Get all leaf nodes 获取所有叶子节点
- getLoadedNodeCount() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Get total node count (loaded nodes only) 获取总节点数(仅已加载的节点)
- getMaxDepth() - Method in class cloud.opencode.base.tree.traversal.DepthLimitedTraversal
- getMaxDepth(List) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Get max depth 获取最大深度
- getMessage() - Method in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- getModifiedCount() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Get modified count 获取修改数量
- getName() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getOrElse(T) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Get the value or a default value 获取值,如果不存在则返回默认值
- getOrElseGet(Supplier) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Get the value or compute a default value 获取值,如果不存在则计算默认值
- getOrNull() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Get the value or null if not present 获取值,如果不存在则返回null
- getOrThrow() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Get the value or throw if not present 获取值,如果不存在则抛出异常
- getOrThrow(Supplier) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Get the value or throw a custom exception 获取值,如果不存在则抛出自定义异常
- getParent() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get parent of target 获取目标的父节点
- getParent() - Method in class cloud.opencode.base.tree.TreeNode
- getParentId() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getParentId() - Method in interface cloud.opencode.base.tree.Treeable
-
Get the parent node ID 获取父节点ID
- getParentId() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
- getPath(List, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Get path from root to specified node 获取从根到指定节点的路径
- getRemovedCount() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Get removed count 获取删除数量
- getRoot() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get root node 获取根节点
- getRoot() - Method in class cloud.opencode.base.tree.TreeNode
- getRootCause() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Get the root cause 获取根本原因
- getSiblings() - Method in class cloud.opencode.base.tree.TreeNode
- getSiblings(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Gets all siblings 获取所有兄弟节点
- getSiblings(List, ID) - Static method in class cloud.opencode.base.tree.OpenTree
-
Get sibling nodes of the node with the given ID 获取给定ID节点的兄弟节点
- getSiblings(List, ID) - Static method in class cloud.opencode.base.tree.operation.TreeUtil
-
Get sibling nodes of the node with the given ID 获取给定ID节点的兄弟节点
- getSort() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- getStats(List) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Get tree statistics string 获取树统计字符串
- getSummary() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Get summary string 获取摘要字符串
- getTarget() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get target node (last node) 获取目标节点(最后一个节点)
- getTotalChanges() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Get total change count 获取总变化数量
- getViolationCount() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Get the violation count 获取违规数量
- getViolationsBySeverity(TreeResult.Violation.Severity) - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Get violations by severity 按严重程度获取违规
- getWarnings() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Get warning violations 获取警告违规
H
- hasCause() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Check if has cause 检查是否有原因
- hasChanges() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Check if has changes 检查是否有变化
- hasChildren() - Method in class cloud.opencode.base.tree.TreeNode
- hasCycle(List) - Static method in class cloud.opencode.base.tree.validation.CycleDetector
-
Check if tree has cycles 检查树是否有循环
- hasErrors() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
- hashCode() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.result.TreeResult.Empty
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.result.TreeResult.Success
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns a hash code value for this object.
- hasPotentialCycle(List) - Static method in class cloud.opencode.base.tree.validation.CycleDetector
-
Check flat list for potential cycles 检查扁平列表中的潜在循环
- hasViolations() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Check if has violations 检查是否有违规
- hitRate() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Get cache hit rate 获取缓存命中率
I
- id() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns the value of the
idrecord component. - id(ID) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set node ID 设置节点ID
- idField() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
idFieldrecord component. - idField(String) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- includeEmptyChildren() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
includeEmptyChildrenrecord component. - includeEmptyChildren(boolean) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- includeParentId() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
includeParentIdrecord component. - includeParentId(boolean) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- includeXmlDeclaration() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
includeXmlDeclarationrecord component. - includeXmlDeclaration(boolean) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- indentSize() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
indentSizerecord component. - indentSize(int) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- info(String, String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create an info violation 创建信息违规
- INFO - Enum constant in enum class cloud.opencode.base.tree.result.TreeResult.Violation.Severity
-
Info severity - informational only 信息严重程度 - 仅供参考
- internalNodeCount() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Get internal (non-leaf) node count 获取内部(非叶子)节点数
- INVALID_NODE - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- INVALID_OPERATION - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- invalidNode(String) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates an invalid-node exception 创建无效节点异常
- isChildrenLoaded() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Check if children are loaded 检查子节点是否已加载
- isEmpty() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Check if path is empty 检查路径是否为空
- isEmpty() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Check if this result represents an empty result 检查此结果是否表示空结果
- isEqual() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Check if trees are equal 检查两棵树是否相等
- isError() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Check if this is an error 检查是否为错误
- isFailed() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Check if this result represents a failure 检查此结果是否表示失败
- isInfo() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Check if this is info 检查是否为信息
- isLeaf() - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Check if node is leaf 检查是否为叶子节点
- isLeaf() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Check if node is leaf 检查是否为叶子节点
- isLeaf() - Method in class cloud.opencode.base.tree.TreeNode
- isLeaf() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Check if this is a leaf node 检查是否为叶子节点
- isRoot() - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Check if node is root 检查是否为根节点
- isRoot() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Check if node is root 检查是否为根节点
- isRoot() - Method in class cloud.opencode.base.tree.TreeNode
- isRoot() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Check if this is a root node 检查是否为根节点
- isSorted(List, Comparator) - Static method in class cloud.opencode.base.tree.OpenTree
-
Check if tree is sorted at all levels 检查树在所有层级是否已排序
- isSorted(List, Comparator) - Static method in class cloud.opencode.base.tree.operation.TreeSorter
-
Check if the tree is sorted at all levels according to the given comparator.
- isSuccess() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Check if this result represents a success 检查此结果是否表示成功
- isValidation() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Check if this result represents a validation failure 检查此结果是否表示验证失败
- isWarning() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Check if this is a warning 检查是否为警告
- IterativeTraversal - Class in cloud.opencode.base.tree.traversal
-
Iterative Traversal 迭代式遍历
- IterativeTraversal() - Constructor for class cloud.opencode.base.tree.traversal.IterativeTraversal
L
- LazyChildLoader<T,
ID> - Interface in cloud.opencode.base.tree.virtual -
Lazy Child Loader 懒加载子节点加载器
- leafCount() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
leafCountrecord component. - leafRatio() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Get the ratio of leaf nodes to total nodes 获取叶子节点占总节点的比率
- length() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get path length 获取路径长度
- LevelOrderTraversal - Class in cloud.opencode.base.tree.traversal
-
Level-Order Traversal 层序遍历
- LevelOrderTraversal() - Constructor for class cloud.opencode.base.tree.traversal.LevelOrderTraversal
- LightTreeNode<ID> - Record Class in cloud.opencode.base.tree
-
Light Tree Node 轻量级树节点
- LightTreeNode(ID, ID, String, List) - Constructor for record class cloud.opencode.base.tree.LightTreeNode
-
Compact constructor 紧凑构造函数
- ListToTreeConverter - Class in cloud.opencode.base.tree.builder
-
List To Tree Converter 列表转树转换器
- loadChildren(ID) - Method in interface cloud.opencode.base.tree.virtual.LazyChildLoader
-
Load children for the given parent ID 加载指定父节点ID的子节点
- loadCount() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns the value of the
loadCountrecord component.
M
- map(TreeNode, Function) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Maps tree to new data type 将树映射到新数据类型
- map(Function) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Transform the value if present 如果存在则转换值
- map(Function) - Method in class cloud.opencode.base.tree.TreeNode
- map(List, Function) - Static method in class cloud.opencode.base.tree.operation.TreeMapper
-
Map tree nodes to different type 将树节点映射为不同类型
- mapNode(TreeNode, Function) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Maps tree with node context 带节点上下文的树映射
- mapToAny(List, Function, BiConsumer) - Static method in class cloud.opencode.base.tree.operation.TreeMapper
-
Map tree to different structure with custom children mapper 使用自定义子节点映射器将树映射为不同结构
- MAX_DEPTH_EXCEEDED - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- maxCacheSize(int) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set max cache size 设置最大缓存大小
- maxDepth() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
maxDepthrecord component. - maxDepthExceeded(int) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a max-depth-exceeded exception 创建超过最大深度异常
- maxSize() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns the value of the
maxSizerecord component. - maxWidth() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
maxWidthrecord component. - merge(List, List, TreeMerger.MergeStrategy) - Static method in class cloud.opencode.base.tree.OpenTree
-
Merge two tree forests with custom conflict resolution 使用自定义冲突解决合并两个树森林
- merge(List, List, TreeMerger.MergeStrategy) - Static method in class cloud.opencode.base.tree.operation.TreeMerger
-
Merges two tree forests using the specified merge strategy.
- mergeKeepLeft(List, List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Merge two tree forests, keeping left node on conflict 合并两个树森林,冲突时保留左侧节点
- mergeKeepLeft(List, List) - Static method in class cloud.opencode.base.tree.operation.TreeMerger
-
Merges two tree forests, keeping the left node on conflict.
- mergeKeepRight(List, List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Merge two tree forests, keeping right node on conflict 合并两个树森林,冲突时保留右侧节点
- mergeKeepRight(List, List) - Static method in class cloud.opencode.base.tree.operation.TreeMerger
-
Merges two tree forests, keeping the right node on conflict.
- message() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Returns the value of the
messagerecord component. - message() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns the value of the
messagerecord component. - modified() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns the value of the
modifiedrecord component. - ModifiedNode(T, T) - Constructor for record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Creates an instance of a
ModifiedNoderecord class.
N
- name() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns the value of the
namerecord component. - newNode() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Returns the value of the
newNoderecord component. - node(T) - Static method in class cloud.opencode.base.tree.OpenTree
- NODE_NOT_FOUND - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- nodeCache(Map) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set node cache 设置节点缓存
- nodeCount() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
nodeCountrecord component. - nodeElement() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
nodeElementrecord component. - nodeElement(String) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- nodeNotFound(Object) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a node-not-found exception 创建节点未找到异常
- nodes() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Returns the value of the
nodesrecord component. - NodeWithDepth(T, int) - Constructor for record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Creates an instance of a
NodeWithDepthrecord class. - NULL_ID - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
O
- of(int) - Static method in class cloud.opencode.base.tree.traversal.DepthLimitedTraversal
- of(ID, ID, String) - Static method in record class cloud.opencode.base.tree.LightTreeNode
-
Create node 创建节点
- of(String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create a simple violation 创建简单违规
- of(String, String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create a violation with field 创建带字段的违规
- of(String, String, String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create a violation with field and code 创建带字段和代码的违规
- of(Consumer) - Static method in interface cloud.opencode.base.tree.traversal.TreeVisitor
-
Create visitor that always continues 创建始终继续的访问者
- of(List) - Static method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Collect statistics from a tree forest in a single BFS pass 通过单次 BFS 遍历从树森林收集统计信息
- of(List) - Static method in record class cloud.opencode.base.tree.path.TreePath
-
Create path from list 从列表创建路径
- of(T...) - Static method in record class cloud.opencode.base.tree.path.TreePath
-
Create path from nodes 从节点创建路径
- oldNode() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Returns the value of the
oldNoderecord component. - onEmpty(Runnable) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Execute action if empty 如果为空则执行操作
- onFailure(Consumer) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Execute action if failure 如果失败则执行操作
- onSuccess(Consumer) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Execute action if success 如果成功则执行操作
- onValidation(Consumer) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Execute action if validation failure 如果验证失败则执行操作
- OpenTree - Class in cloud.opencode.base.tree
-
Open Tree 开放树
- OPERATION_FAILED - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
P
- parallelStream(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a parallel stream 创建并行流
- PARENT_NOT_FOUND - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- parentId() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns the value of the
parentIdrecord component. - parentId(ID) - Method in class cloud.opencode.base.tree.virtual.VirtualTree.Builder
-
Set parent ID 设置父节点ID
- parentIdField() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
parentIdFieldrecord component. - parentIdField(String) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- parentNotFound(Object) - Static method in exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a parent-not-found exception 创建父节点未找到异常
- PathFinder - Class in cloud.opencode.base.tree.path
-
Path Finder 路径查找器
- postOrderIterator(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a post-order iterator 创建后序迭代器
- postOrderStream(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a post-order stream 创建后序流
- PostOrderTraversal - Class in cloud.opencode.base.tree.traversal
-
Post-Order Traversal 后序遍历
- PostOrderTraversal() - Constructor for class cloud.opencode.base.tree.traversal.PostOrderTraversal
- preload(int) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Preload children to specified depth 预加载到指定深度的子节点
- preloadVirtualTree(VirtualTree, int) - Static method in class cloud.opencode.base.tree.OpenTree
-
Preload virtual tree to specified depth 预加载虚拟树到指定深度
- preOrderIterator(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a pre-order iterator 创建前序迭代器
- preOrderIterator(List) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a pre-order iterator for Treeable 创建Treeable的前序迭代器
- PreOrderTraversal - Class in cloud.opencode.base.tree.traversal
-
Pre-Order Traversal 先序遍历
- PreOrderTraversal() - Constructor for class cloud.opencode.base.tree.traversal.PreOrderTraversal
- prettyPrint() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
prettyPrintrecord component. - prettyPrint(boolean) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
- print(TreeNode) - Static method in class cloud.opencode.base.tree.OpenTree
- print(List) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print tree to string 打印树为字符串
- print(List, Function) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print tree to string with custom formatter 使用自定义格式化器打印树为字符串
- printSimple(List, String, Function) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print simple tree (indented format) 打印简单树(缩进格式)
- printSingle(T) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print single node tree 打印单节点树
- printToConsole(TreeNode) - Static method in class cloud.opencode.base.tree.OpenTree
- printToConsole(List) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print tree to console 打印树到控制台
- printToConsole(List, Function) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print tree to console with formatter 使用格式化器打印树到控制台
- printToStream(List, PrintStream, Function) - Static method in class cloud.opencode.base.tree.TreePrinter
-
Print tree to stream 打印树到流
- put(String, Object) - Method in class cloud.opencode.base.tree.DefaultTreeNode
-
Put extra attribute 设置额外属性
R
- recover(Function) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Recover from failure with an alternative value 从失败中恢复为替代值
- recoverWith(Function) - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Recover from failure with an alternative TreeResult 从失败中恢复为替代TreeResult
- reduce(TreeNode, R, BiFunction) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Reduces tree to single value 将树归约为单个值
- reduce(TreeNode, R, BiFunction, BinaryOperator) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Reduces tree with combiner (for parallel) 带组合器的树归约(用于并行)
- reloadChildren() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Reload children (force refresh) 重新加载子节点(强制刷新)
- removeChild(TreeNode) - Method in class cloud.opencode.base.tree.TreeNode
- removed() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns the value of the
removedrecord component. - resolve(T, T) - Method in interface cloud.opencode.base.tree.operation.TreeMerger.MergeStrategy
-
Resolves a conflict between left and right nodes with the same ID.
- reverse() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get reversed path 获取反转的路径
- root(ID, String) - Static method in record class cloud.opencode.base.tree.LightTreeNode
-
Create root node 创建根节点
- root(ID, T, LazyChildLoader) - Static method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Create a root virtual tree node 创建根虚拟树节点
- rootElement() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns the value of the
rootElementrecord component. - rootElement(String) - Method in class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig.Builder
S
- SerializerConfig(String, String, String, String, String, boolean, int, boolean, boolean, boolean, Function) - Constructor for record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Compact constructor - sanitize XML element names to prevent injection 紧凑构造器 - 清理 XML 元素名称以防注入
- setChildren(List) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- setChildren(List) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
- setChildren(List) - Method in interface cloud.opencode.base.tree.Treeable
-
Set the children list 设置子节点列表
- setData(T) - Method in class cloud.opencode.base.tree.TreeNode
- setExtra(Map) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- setId(ID) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- setName(String) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- setParentId(ID) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- setSort(int) - Method in class cloud.opencode.base.tree.DefaultTreeNode
- severity() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns the value of the
severityrecord component. - size() - Method in class cloud.opencode.base.tree.TreeNode
- size(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Calculate total node count 计算节点总数
- SKIP_SUBTREE - Enum constant in enum class cloud.opencode.base.tree.TreeTraverser.TraversalControl
-
Skip children, continue siblings | 跳过子节点,继续兄弟节点
- sort(List, Comparator) - Static method in class cloud.opencode.base.tree.OpenTree
-
Sort tree recursively using TreeSorter 使用 TreeSorter 递归排序树
- sort(List, Comparator) - Static method in class cloud.opencode.base.tree.operation.TreeSorter
-
Sort children in-place recursively at every level using the given comparator.
- sortBy(List, Function) - Static method in class cloud.opencode.base.tree.OpenTree
-
Sort tree recursively by extracted key 按提取的键递归排序树
- sortBy(List, Function) - Static method in class cloud.opencode.base.tree.operation.TreeSorter
-
Sort children in-place recursively by an extracted comparable key.
- sortReversed(List, Comparator) - Static method in class cloud.opencode.base.tree.operation.TreeSorter
-
Sort children in-place recursively in reversed order.
- sortTree(List, Comparator) - Static method in class cloud.opencode.base.tree.OpenTree
-
Deprecated, for removal: This API element is subject to removal in a future version.
- STACK_OVERFLOW - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- statistics(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Collect comprehensive tree statistics in a single BFS pass 通过单次 BFS 收集全面的树统计
- STOP - Enum constant in enum class cloud.opencode.base.tree.TreeTraverser.TraversalControl
-
Stop traversal entirely | 完全停止遍历
- stream(TreeNode) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a pre-order stream of TreeNode 创建TreeNode的前序流
- stream(List) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Creates a pre-order stream of Treeable nodes 创建Treeable节点的前序流
- subPath(int, int) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Get sub-path from start to end index 获取从开始到结束索引的子路径
- success() - Static method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
- success(T) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a success result 创建成功结果
- Success(T) - Constructor for record class cloud.opencode.base.tree.result.TreeResult.Success
-
Compact constructor 紧凑构造函数
- summary() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Get a human-readable summary of the statistics 获取人类可读的统计摘要
T
- toFlatMaps(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Convert tree to flat list of maps (without hierarchy) 将树扁平化为Map列表(无层级)
- toFlatMaps(List) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Flatten tree to list of maps (without hierarchy) 将树扁平化为Map列表(无层级)
- toFlatMaps(List, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Flatten tree to list of maps with config 使用配置将树扁平化为Map列表
- toJson(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize tree to JSON 将树序列化为JSON
- toJson(List) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize tree to JSON 将树序列化为JSON
- toJson(List, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize tree to JSON with config 使用配置将树序列化为JSON
- toJson(List, Function) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize tree to JSON with custom field extractor 使用自定义字段提取器将树序列化为JSON
- toJsonSingle(T) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize single tree node to JSON 将单个树节点序列化为JSON
- toJsonSingle(T, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize single tree node to JSON with config 使用配置将单个树节点序列化为JSON
- toMap(T) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Convert single tree node to map 将单个树节点转换为Map
- toMaps(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Convert tree to list of maps 将树转换为Map列表
- toMaps(List) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Convert tree to list of maps 将树转换为Map列表
- toMaps(List, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Convert tree to list of maps with config 使用配置将树转换为Map列表
- toOptional() - Method in interface cloud.opencode.base.tree.result.TreeResult
-
Convert to Optional 转换为Optional
- toString() - Method in class cloud.opencode.base.tree.DefaultTreeNode
- toString() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult.ModifiedNode
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.path.TreePath
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.result.TreeResult.Empty
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.result.TreeResult.Failure
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.result.TreeResult.Success
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.serialization.TreeSerializer.SerializerConfig
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.TreeBuilder.NodeWithDepth
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.tree.TreeNode
- toString() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
- toString(String) - Method in record class cloud.opencode.base.tree.path.TreePath
-
Convert to string representation 转换为字符串表示
- toXml(List) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize tree to XML 将树序列化为XML
- toXml(List) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize tree to XML 将树序列化为XML
- toXml(List, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize tree to XML with config 使用配置将树序列化为XML
- toXml(List, Function) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize tree to XML with custom field extractor 使用自定义字段提取器将树序列化为XML
- toXmlSingle(T) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize single tree node to XML 将单个树节点序列化为XML
- toXmlSingle(T, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize single tree node to XML with config 使用配置将单个树节点序列化为XML
- TRAVERSAL_ERROR - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- traverse(TreeNode, TreeTraverser.ControlledVisitor) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Traverses tree with control 带控制的树遍历
- traverse(List, TreeVisitor) - Method in class cloud.opencode.base.tree.traversal.DepthLimitedTraversal
- traverse(List, TreeVisitor) - Method in class cloud.opencode.base.tree.traversal.IterativeTraversal
- traverse(List, TreeVisitor) - Method in class cloud.opencode.base.tree.traversal.LevelOrderTraversal
- traverse(List, TreeVisitor) - Method in class cloud.opencode.base.tree.traversal.PostOrderTraversal
- traverse(List, TreeVisitor) - Method in class cloud.opencode.base.tree.traversal.PreOrderTraversal
- traverse(List, TreeVisitor) - Method in interface cloud.opencode.base.tree.traversal.TreeTraversal
-
Traverse tree nodes 遍历树节点
- traverse(List, Consumer) - Method in interface cloud.opencode.base.tree.traversal.TreeTraversal
-
Traverse tree nodes with consumer 使用消费者遍历树节点
- traverse(List, Function) - Static method in class cloud.opencode.base.tree.TreeTraverser
-
Traverses Treeable nodes with control 带控制的Treeable节点遍历
- traverseBreadthFirst(Consumer) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Traverse level by level (breadth-first) 层级遍历(广度优先)
- traverseBreadthFirst(List, Consumer) - Static method in class cloud.opencode.base.tree.OpenTree
-
Breadth-first (level order) traversal 广度优先(层序)遍历
- traversePostOrder(Consumer) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Traverse in post-order 后序遍历
- traversePostOrder(List, Consumer) - Static method in class cloud.opencode.base.tree.OpenTree
-
Post-order traversal 后序遍历
- traversePreOrder(Consumer) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Traverse in pre-order 前序遍历
- traversePreOrder(List, Consumer) - Static method in class cloud.opencode.base.tree.OpenTree
-
Pre-order traversal 前序遍历
- traverseWithDepth(List, BiConsumer) - Static method in class cloud.opencode.base.tree.OpenTree
-
Traverse with depth information 带深度信息的遍历
- traverseWithDepthLimit(Consumer, int) - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Traverse with depth limit (for controlled lazy loading) 带深度限制的遍历(用于控制懒加载)
- Treeable<T,
ID> - Interface in cloud.opencode.base.tree -
Treeable Interface 可树化接口
- TreeBuilder - Class in cloud.opencode.base.tree
-
Tree Builder 树构建器
- TreeBuilder.NodeWithDepth<T> - Record Class in cloud.opencode.base.tree
-
Node with depth info 带深度信息的节点
- TreeDiff - Class in cloud.opencode.base.tree.diff
-
Tree Diff 树差异计算
- TreeDiffResult<T> - Record Class in cloud.opencode.base.tree.diff
-
Tree Diff Result 树差异结果
- TreeDiffResult(List, List, List, List) - Constructor for record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Compact constructor 紧凑构造函数
- TreeDiffResult.ModifiedNode<T> - Record Class in cloud.opencode.base.tree.diff
-
Modified Node 修改的节点
- TreeErrorCode - Enum Class in cloud.opencode.base.tree.exception
-
Tree Error Code 树错误码
- TreeException - Exception Class in cloud.opencode.base.tree.exception
-
Tree Exception - Base exception for tree operations 树异常 - 树操作的基础异常
- TreeException(TreeErrorCode) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with error code enum 创建树异常(带错误码枚举)
- TreeException(TreeErrorCode, String) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with error code enum and custom message 创建树异常(带错误码枚举和自定义消息)
- TreeException(TreeErrorCode, Throwable) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with error code enum and cause 创建树异常(带错误码枚举和原因)
- TreeException(String) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with message 创建树异常(带消息)
- TreeException(String, String) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with code and message 创建树异常(带错误码和消息)
- TreeException(String, Throwable) - Constructor for exception class cloud.opencode.base.tree.exception.TreeException
-
Creates a tree exception with message and cause 创建树异常(带消息和原因)
- TreeFilter - Class in cloud.opencode.base.tree.operation
-
Tree Filter 树过滤器
- TreeMapper - Class in cloud.opencode.base.tree.operation
-
Tree Mapper - Maps tree nodes to different types 树映射器 - 将树节点映射为不同类型
- TreeMerger - Class in cloud.opencode.base.tree.operation
-
Tree Merger - Merges two tree forests by matching node IDs 树合并器 - 通过匹配节点ID合并两棵树森林
- TreeMerger.MergeStrategy<T> - Interface in cloud.opencode.base.tree.operation
-
Functional interface for resolving merge conflicts when a node exists in both forests.
- TreeNode<T> - Class in cloud.opencode.base.tree
-
Tree Node 树节点
- TreeNode(T) - Constructor for class cloud.opencode.base.tree.TreeNode
- treeNodeToJson(TreeNode, Function) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize TreeNode to JSON 将TreeNode序列化为JSON
- treeNodeToJson(TreeNode, Function) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize TreeNode to JSON 将TreeNode序列化为JSON
- treeNodeToJson(TreeNode, Function, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize TreeNode to JSON with config 使用配置将TreeNode序列化为JSON
- treeNodeToXml(TreeNode, Function) - Static method in class cloud.opencode.base.tree.OpenTree
-
Serialize TreeNode to XML 将TreeNode序列化为XML
- treeNodeToXml(TreeNode, Function) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize TreeNode to XML 将TreeNode序列化为XML
- treeNodeToXml(TreeNode, Function, TreeSerializer.SerializerConfig) - Static method in class cloud.opencode.base.tree.serialization.TreeSerializer
-
Serialize TreeNode to XML with config 使用配置将TreeNode序列化为XML
- TreeNodeValidator - Class in cloud.opencode.base.tree.validation
-
Tree Node Validator 树节点验证器
- TreeNodeValidator.ValidationResult - Record Class in cloud.opencode.base.tree.validation
-
Validation Result 验证结果
- TreePath<T> - Record Class in cloud.opencode.base.tree.path
-
Tree Path 树路径
- TreePath(List) - Constructor for record class cloud.opencode.base.tree.path.TreePath
-
Compact constructor 紧凑构造函数
- TreePrinter - Class in cloud.opencode.base.tree
-
Tree Printer 树打印器
- TreeResult<T> - Interface in cloud.opencode.base.tree.result
-
Tree Result 树操作结果
- TreeResult.Empty<T> - Record Class in cloud.opencode.base.tree.result
-
Empty Result 空结果
- TreeResult.Failure<T> - Record Class in cloud.opencode.base.tree.result
-
Failure Result 失败结果
- TreeResult.Success<T> - Record Class in cloud.opencode.base.tree.result
-
Success Result 成功结果
- TreeResult.Validation<T> - Record Class in cloud.opencode.base.tree.result
-
Validation Result 验证结果
- TreeResult.Violation - Record Class in cloud.opencode.base.tree.result
-
Violation 违规
- TreeResult.Violation.Severity - Enum Class in cloud.opencode.base.tree.result
-
Violation Severity 违规严重程度
- TreeSerializer - Class in cloud.opencode.base.tree.serialization
-
Tree Serializer 树序列化器
- TreeSerializer.SerializerConfig - Record Class in cloud.opencode.base.tree.serialization
-
Serializer Configuration 序列化配置
- TreeSerializer.SerializerConfig.Builder - Class in cloud.opencode.base.tree.serialization
-
Configuration Builder 配置构建器
- TreeSorter - Class in cloud.opencode.base.tree.operation
-
Tree Sorter - Recursively sort children at every level 树排序器 - 递归排序每一层子节点
- TreeStatistics - Record Class in cloud.opencode.base.tree.operation
-
Tree Statistics - Comprehensive tree metrics collected in a single pass 树统计 - 单次遍历收集的全面树指标
- TreeStatistics(int, int, int, int, double, Map) - Constructor for record class cloud.opencode.base.tree.operation.TreeStatistics
-
Compact constructor - defensive copy of widthByLevel 紧凑构造器 - widthByLevel 防御性拷贝
- TreeTraversal - Interface in cloud.opencode.base.tree.traversal
-
Tree Traversal 树遍历
- TreeTraverser - Class in cloud.opencode.base.tree
-
Tree Traverser - Advanced tree traversal utilities 树遍历器 - 高级树遍历工具
- TreeTraverser.ControlledVisitor<T> - Interface in cloud.opencode.base.tree
-
Controlled traversal visitor 受控遍历访问者
- TreeTraverser.TraversalControl - Enum Class in cloud.opencode.base.tree
-
Traversal control enum 遍历控制枚举
- TreeUtil - Class in cloud.opencode.base.tree.operation
-
Tree Util 树工具类
- TreeVisitor<T> - Interface in cloud.opencode.base.tree.traversal
-
Tree Visitor 树访问者
U
- unchanged() - Method in record class cloud.opencode.base.tree.diff.TreeDiffResult
-
Returns the value of the
unchangedrecord component. - unloadChildren() - Method in class cloud.opencode.base.tree.virtual.VirtualTree
-
Unload children to free memory 卸载子节点以释放内存
- Usage Examples | 使用示例 - Section in interface cloud.opencode.base.tree.result.TreeResult
- usagePercentage() - Method in record class cloud.opencode.base.tree.virtual.VirtualTree.CacheStats
-
Get cache usage percentage 获取缓存使用率
V
- valid() - Method in record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Returns the value of the
validrecord component. - validate(List) - Static method in class cloud.opencode.base.tree.validation.TreeNodeValidator
-
Validate tree nodes 验证树节点
- validateOrThrow(List) - Static method in class cloud.opencode.base.tree.validation.TreeNodeValidator
-
Validate and throw if invalid 验证并在无效时抛出异常
- validateStructure(List) - Static method in class cloud.opencode.base.tree.validation.TreeNodeValidator
-
Validate tree structure 验证树结构
- validation(TreeResult.Violation) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a validation result with single violation 创建单个违规的验证结果
- validation(List) - Static method in interface cloud.opencode.base.tree.result.TreeResult
-
Create a validation result 创建验证结果
- Validation(List) - Constructor for record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Compact constructor 紧凑构造函数
- VALIDATION_FAILED - Enum constant in enum class cloud.opencode.base.tree.exception.TreeErrorCode
- ValidationResult(boolean, List) - Constructor for record class cloud.opencode.base.tree.validation.TreeNodeValidator.ValidationResult
-
Creates an instance of a
ValidationResultrecord class. - value() - Method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class cloud.opencode.base.tree.exception.TreeErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.tree.result.TreeResult.Violation.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.tree.TreeTraverser.TraversalControl
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.tree.exception.TreeErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.tree.result.TreeResult.Violation.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.tree.TreeTraverser.TraversalControl
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Violation(String, String, String, TreeResult.Violation.Severity, Object) - Constructor for record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Compact constructor 紧凑构造函数
- violations() - Method in record class cloud.opencode.base.tree.result.TreeResult.Validation
-
Returns the value of the
violationsrecord component. - virtualTree(ID, T, LazyChildLoader) - Static method in class cloud.opencode.base.tree.OpenTree
-
Create a virtual tree root with lazy loading 创建支持懒加载的虚拟树根节点
- VirtualTree<T,
ID> - Class in cloud.opencode.base.tree.virtual -
Virtual Tree 虚拟化树
- VirtualTree(ID, ID, T, LazyChildLoader) - Constructor for class cloud.opencode.base.tree.virtual.VirtualTree
-
Create virtual tree node with lazy loading 创建支持懒加载的虚拟树节点
- VirtualTree(ID, ID, T, LazyChildLoader, Map, int, boolean) - Constructor for class cloud.opencode.base.tree.virtual.VirtualTree
-
Create virtual tree node with configuration 创建可配置的虚拟树节点
- VirtualTree.Builder<T,
ID> - Class in cloud.opencode.base.tree.virtual -
Virtual Tree Builder 虚拟树构建器
- VirtualTree.CacheStats - Record Class in cloud.opencode.base.tree.virtual
-
Cache Statistics 缓存统计
- virtualTreeBuilder() - Static method in class cloud.opencode.base.tree.OpenTree
-
Create a virtual tree builder 创建虚拟树构建器
- visit(TreeNode) - Method in interface cloud.opencode.base.tree.TreeTraverser.ControlledVisitor
- visit(T, int) - Method in interface cloud.opencode.base.tree.traversal.TreeVisitor
-
Visit a node 访问节点
W
- warning(String, String) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create a warning violation 创建警告违规
- WARNING - Enum constant in enum class cloud.opencode.base.tree.result.TreeResult.Violation.Severity
-
Warning severity - operation may continue 警告严重程度 - 操作可以继续
- widthByLevel() - Method in record class cloud.opencode.base.tree.operation.TreeStatistics
-
Returns the value of the
widthByLevelrecord component. - withChild(LightTreeNode) - Method in record class cloud.opencode.base.tree.LightTreeNode
-
Add child and return new node 添加子节点并返回新节点
- withDepth(BiConsumer) - Static method in interface cloud.opencode.base.tree.traversal.TreeVisitor
-
Create visitor with depth 创建带深度的访问者
- withValue(String, String, Object) - Static method in record class cloud.opencode.base.tree.result.TreeResult.Violation
-
Create a violation with value 创建带值的违规
All Classes and Interfaces|All Packages|Serialized Form
OpenTree.sort(List, Comparator)instead, which uses iterative depth-safe TreeSorter