MCPcopy Create free account
hub / github.com/questdb/questdb / toString

Method toString

core/src/main/java/io/questdb/std/ObjList.java:367–381  ·  view source on GitHub ↗

{@inheritDoc}

()

Source from the content-addressed store, hash-verified

365 * {@inheritDoc}
366 */
367 @Override
368 public String toString() {
369 StringBuilder b = new StringBuilder();
370
371 b.setLength(0);
372 b.append('[');
373 for (int i = 0, k = size(); i < k; i++) {
374 if (i > 0) {
375 b.append(',');
376 }
377 b.append(getQuick(i));
378 }
379 b.append(']');
380 return b.toString();
381 }
382
383 private boolean equals(ObjList<?> that) {
384 if (this.pos == that.pos) {

Callers 1

testListDirMethod · 0.95

Calls 4

sizeMethod · 0.95
getQuickMethod · 0.95
appendMethod · 0.65
toStringMethod · 0.65

Tested by 1

testListDirMethod · 0.76