MCPcopy Create free account
hub / github.com/antlr/codebuff / removeMin

Method removeMin

output/java_guava/1.4.17/TreeMultiset.java:815–824  ·  view source on GitHub ↗
(AvlNode<E> node)

Source from the content-addressed store, hash-verified

813 // Removes the minimum node from this subtree to be reused elsewhere
814
815 private AvlNode<E> removeMin(AvlNode<E> node) {
816 if (left == null) {
817 return right;
818 } else {
819 left = left.removeMin(node);
820 distinctElements--;
821 totalCount -= node.elemCount;
822 return rebalance();
823 }
824 }
825
826 // Removes the maximum node from this subtree to be reused elsewhere
827

Callers 1

deleteMeMethod · 0.45

Calls 1

rebalanceMethod · 0.95

Tested by

no test coverage detected