# | Line 2268 | Line 2268 | public class HashMap<K,V> extends Abstra | |
---|---|---|
2268 | ||
2269 | static <K,V> TreeNode<K,V> balanceDeletion(TreeNode<K,V> root, | |
2270 | TreeNode<K,V> x) { | |
2271 | < | for (TreeNode<K,V> xp, xpl, xpr;;) { |
2271 | > | for (TreeNode<K,V> xp, xpl, xpr;;) { |
2272 | if (x == null || x == root) | |
2273 | return root; | |
2274 | else if ((xp = x.parent) == null) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |