Uses of Record Class
cloud.opencode.base.tree.path.TreePath
Packages that use TreePath
-
Uses of TreePath in cloud.opencode.base.tree.path
Methods in cloud.opencode.base.tree.path that return TreePathModifier and TypeMethodDescriptionAppend node to path 向路径追加节点static <T> TreePath<T> TreePath.empty()Create empty path 创建空路径static <T> TreePath<T> Create path from list 从列表创建路径static <T> TreePath<T> TreePath.of(T... nodes) Create path from nodes 从节点创建路径TreePath.reverse()Get reversed path 获取反转的路径TreePath.subPath(int start, int end) Get sub-path from start to end index 获取从开始到结束索引的子路径Methods in cloud.opencode.base.tree.path that return types with arguments of type TreePathModifier and TypeMethodDescriptionPathFinder.findAllLeafPaths(List<T> roots) Find paths to all leaf nodes 查找到所有叶子节点的路径PathFinder.findAllPaths(List<T> roots, Predicate<T> predicate) Find all paths to matching nodes 查找到所有匹配节点的路径Find path to node matching predicate 查找到匹配谓词的节点的路径PathFinder.findPathById(List<T> roots, ID targetId) Find path to node by ID 通过ID查找到节点的路径