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

Method rotateLeft

output/java_guava/1.4.17/TreeMultiset.java:875–885  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 9

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

Calls 3

recomputeMethod · 0.95
checkStateMethod · 0.45
recomputeHeightMethod · 0.45

Tested by

no test coverage detected