MCPcopy Index your code
hub / github.com/jankotek/mapdb / Node

Method Node

src/main/java/org/mapdb/BTreeMapJava.java:36–53  ·  view source on GitHub ↗
(int flags, long link, Object keys, Object values)

Source from the content-addressed store, hash-verified

34 final Object values;
35
36 Node(int flags, long link, Object keys, Object values){
37 this.flags = (byte)flags;
38 this.link = link;
39 this.keys = keys;
40 this.values = values;
41
42 if(CC.ASSERT && isLastKeyDouble() && isDir())
43 throw new AssertionError();
44
45 if(CC.ASSERT && isRightEdge() && (link!=0L))
46 throw new AssertionError();
47
48 if(CC.ASSERT && !isRightEdge() && (link==0L))
49 throw new AssertionError();
50
51 if(CC.ASSERT && isDir() && getChildren().length==0)
52 throw new AssertionError();
53 }
54
55 int intDir(){
56 return (flags>>>3)&1;

Callers

nothing calls this directly

Calls 4

isLastKeyDoubleMethod · 0.95
isDirMethod · 0.95
isRightEdgeMethod · 0.95
getChildrenMethod · 0.95

Tested by

no test coverage detected