MCPcopy
hub / github.com/zxing/zxing / toString

Method toString

core/src/main/java/com/google/zxing/common/BitArray.java:342–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 @Override
343 public String toString() {
344 StringBuilder result = new StringBuilder(size + (size / 8) + 1);
345 for (int i = 0; i < size; i++) {
346 if ((i & 0x07) == 0) {
347 result.append(' ');
348 }
349 result.append(get(i) ? 'X' : '.');
350 }
351 return result.toString();
352 }
353
354 @Override
355 public BitArray clone() {

Callers 15

checkMethod · 0.95
checkWithoutSpacesMethod · 0.95
checkBinaryMethod · 0.95
testAppendBitVectorMethod · 0.95
testToStringMethod · 0.95
testAppendModeInfoMethod · 0.95
testAppendLengthInfoMethod · 0.95
testAppendBytesMethod · 0.95
testTerminateBitsMethod · 0.95

Calls 2

getMethod · 0.95
appendMethod · 0.45

Tested by 15

checkMethod · 0.76
checkWithoutSpacesMethod · 0.76
checkBinaryMethod · 0.76
testAppendBitVectorMethod · 0.76
testToStringMethod · 0.76
testAppendModeInfoMethod · 0.76
testAppendLengthInfoMethod · 0.76
testAppendBytesMethod · 0.76
testTerminateBitsMethod · 0.76