Uses of Record Class
cloud.opencode.base.tree.diff.TreeDiffResult
Packages that use TreeDiffResult
-
Uses of TreeDiffResult in cloud.opencode.base.tree.diff
Methods in cloud.opencode.base.tree.diff that return TreeDiffResultModifier and TypeMethodDescriptionstatic <T extends Treeable<T,ID>, ID>
TreeDiffResult<T> Compare two trees by ID 通过ID比较两棵树static <T extends Treeable<T,ID>, ID>
TreeDiffResult<T> TreeDiff.diff(List<T> oldRoots, List<T> newRoots, BiPredicate<T, T> equalityChecker) Compare two trees with custom equality 使用自定义相等性比较两棵树static <T extends Treeable<T,ID>, ID, K>
TreeDiffResult<T> TreeDiff.diffByKey(List<T> oldRoots, List<T> newRoots, Function<T, K> keyExtractor, BiPredicate<T, T> equalityChecker) Compare using custom key extractor 使用自定义键提取器比较static <T> TreeDiffResult<T> TreeDiffResult.empty()Create empty result 创建空结果