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

Method set5

src/test/java/org/mapdb/BTreeSet2Test.java:51–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 * Returns a new set of first 5 ints.
50 */
51 private NavigableSet set5() {
52 NavigableSet q = DBMaker.memoryDB().make().
53 treeSet("test").serializer(Serializer.INTEGER).make();
54 assertTrue(q.isEmpty());
55 q.add(one);
56 q.add(two);
57 q.add(three);
58 q.add(four);
59 q.add(five);
60 assertEquals(5, q.size());
61 return q;
62 }
63
64 /*
65 * A new set has unbounded capacity

Callers 8

testLowerMethod · 0.95
testHigherMethod · 0.95
testFloorMethod · 0.95
testCeilingMethod · 0.95
testSubSetContentsMethod · 0.95
testSubSetContents2Method · 0.95
testHeadSetContentsMethod · 0.95
testTailSetContentsMethod · 0.95

Calls 3

isEmptyMethod · 0.45
addMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected