MCPcopy Create free account
hub / github.com/LFYSec/MScan / size

Method size

src/test/resources/pta/basic/RedBlackBST.java:33–36  ·  view source on GitHub ↗
(Node x)

Source from the content-addressed store, hash-verified

31 }
32
33 private int size(Node x) {
34 if (x == null) return 0;
35 return x.size;
36 }
37
38 public int size() {
39 return size(root);

Callers 7

putMethod · 0.95
rotateRightMethod · 0.95
rotateLeftMethod · 0.95
balanceMethod · 0.95
selectMethod · 0.95
rankMethod · 0.95
isSizeConsistentMethod · 0.95

Calls 2

containsMethod · 0.95
rankMethod · 0.95

Tested by

no test coverage detected