MCPcopy Index your code
hub / github.com/questdb/questdb / toSink

Method toSink

core/src/main/java/io/questdb/std/DoubleList.java:279–289  ·  view source on GitHub ↗
(@NotNull CharSink<?> sink)

Source from the content-addressed store, hash-verified

277 }
278
279 @Override
280 public void toSink(@NotNull CharSink<?> sink) {
281 sink.putAscii('[');
282 for (int i = 0, k = pos; i < k; i++) {
283 if (i > 0) {
284 sink.putAscii(',');
285 }
286 sink.put(get(i));
287 }
288 sink.putAscii(']');
289 }
290
291 public void toSink(CharSink<?> sink, double exceptValue) {
292 sink.putAscii('[');

Callers 2

testToSinkMethod · 0.95
toStringMethod · 0.95

Calls 5

getMethod · 0.95
sizeMethod · 0.95
equalsMethod · 0.95
putAsciiMethod · 0.65
putMethod · 0.65

Tested by 1

testToSinkMethod · 0.76