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

Method cardinality

src/main/java/pascal/taie/util/collection/IBitSet.java:343–343  ·  view source on GitHub ↗

Returns the number of bits set to true in this BitSet. @return the number of bits set to true in this BitSet

()

Source from the content-addressed store, hash-verified

341 * @return the number of bits set to {@code true} in this {@code BitSet}
342 */
343 int cardinality();
344
345 // ------------------------------------------------------------------------
346 // utilities

Callers 12

testMethod · 0.95
testClearMethod · 0.95
testContainsMethod · 0.95
testAndMethod · 0.95
testAndNotMethod · 0.95
testOrMethod · 0.95
testRandomOrMethod · 0.95
testClearOrMethod · 0.95
testXorMethod · 0.95
sizeMethod · 0.65
toStringMethod · 0.65
sizeMethod · 0.65

Implementers 1

AbstractBitSetsrc/main/java/pascal/taie/util/collect

Calls

no outgoing calls

Tested by 9

testMethod · 0.76
testClearMethod · 0.76
testContainsMethod · 0.76
testAndMethod · 0.76
testAndNotMethod · 0.76
testOrMethod · 0.76
testRandomOrMethod · 0.76
testClearOrMethod · 0.76
testXorMethod · 0.76