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

Method iterateBits

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

Iterates all set bits in this set and takes action on them.

(Action<R> action)

Source from the content-addressed store, hash-verified

273 * Iterates all set bits in this set and takes action on them.
274 */
275 default <R> R iterateBits(Action<R> action) {
276 int i = nextSetBit(0);
277 while (i != -1) {
278 if (!action.accept(i)) {

Callers 6

intersectsMethod · 0.80
containsMethod · 0.80
andNotMethod · 0.80
orMethod · 0.80
orDiffMethod · 0.80
xorMethod · 0.80

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected