Lines Matching defs:mutationRule
56 * Returns the result of performing the mutation specified by {@code mutationRule} in {@code
69 Comparator<? super K> comparator, BstMutationRule<K, N> mutationRule, @Nullable N tree,
72 checkNotNull(mutationRule);
79 mutate(comparator, mutationRule, tree.childOrNull(side), key);
81 tree, side, mutationRule.getNodeFactory(), mutationRule.getBalancePolicy());
84 return modify(tree, key, mutationRule);
91 BstInOrderPath<N> path, BstMutationRule<K, N> mutationRule) {
93 checkNotNull(mutationRule);
94 BstBalancePolicy<N> balancePolicy = mutationRule.getBalancePolicy();
95 BstNodeFactory<N> nodeFactory = mutationRule.getNodeFactory();
96 BstModifier<K, N> modifier = mutationRule.getModifier();
100 BstMutationResult<K, N> result = modify(target, key, mutationRule);
113 @Nullable N tree, K key, BstMutationRule<K, N> mutationRule) {
114 BstBalancePolicy<N> rebalancePolicy = mutationRule.getBalancePolicy();
115 BstNodeFactory<N> nodeFactory = mutationRule.getNodeFactory();
116 BstModifier<K, N> modifier = mutationRule.getModifier();