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

Method clear

classpath/java/util/BitSet.java:139–144  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

137 }
138
139 public void clear(int index) {
140 int pos = longPosition(index);
141 if (pos < bits.length) {
142 bits[pos] &= (MASK ^ bitPosition(index));
143 }
144 }
145
146 public void clear(int start, int end) {
147 MaskInfoIterator iter = new MaskInfoIterator(start, end);

Callers 1

testClearMethod · 0.95

Calls 4

longPositionMethod · 0.95
bitPositionMethod · 0.95
hasNextMethod · 0.95
nextMethod · 0.95

Tested by 1

testClearMethod · 0.76