MCPcopy Create free account
hub / github.com/ReadyTalk/avian / andNot

Method andNot

classpath/java/util/BitSet.java:62–69  ·  view source on GitHub ↗
(BitSet otherBits)

Source from the content-addressed store, hash-verified

60 }
61
62 public void andNot(BitSet otherBits) {
63 int max = Math.max(bits.length, otherBits.bits.length);
64 enlarge(max);
65 int min = Math.min(bits.length, otherBits.bits.length);
66 for (int i = 0; i < min; i++) {
67 bits[i] &= ~otherBits.bits[i];
68 }
69 }
70
71 public void or(BitSet otherBits) {
72 int max = Math.max(bits.length, otherBits.bits.length);

Callers

nothing calls this directly

Calls 3

maxMethod · 0.95
enlargeMethod · 0.95
minMethod · 0.95

Tested by

no test coverage detected