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

Method rotateLeft

output/java_guava/1.4.19/TreeMultiset.java:876–886  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

874 }
875
876 private AvlNode<E> rotateLeft() {
877 checkState(right != null);
878 AvlNode<E> newTop = right;
879 this.right = newTop.left;
880 newTop.left = this;
881 newTop.totalCount = this.totalCount;
882 newTop.distinctElements = this.distinctElements;
883 this.recompute();
884 newTop.recomputeHeight();
885 return newTop;
886 }
887
888 private AvlNode<E> rotateRight() {
889 checkState(left != null);

Callers 8

rebalanceMethod · 0.95
smearMethod · 0.45
mixK1Method · 0.45
mixH1Method · 0.45
sipRoundMethod · 0.45
bmix64Method · 0.45
mixK1Method · 0.45
mixK2Method · 0.45

Calls 3

recomputeMethod · 0.95
checkStateMethod · 0.45
recomputeHeightMethod · 0.45

Tested by

no test coverage detected