MCPcopy Create free account
hub / github.com/antlr/codebuff / toString

Method toString

output/java_guava/1.4.19/Bytes.java:375–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373 }
374
375 @Override
376 public String toString() {
377 StringBuilder builder = new StringBuilder(size() * 5);
378 builder.append('[').append(array[start]);
379 for (int i = start + 1; i < end; i++) {
380 builder.append(", ").append(array[i]);
381 }
382 return builder.append(']').toString();
383 }
384
385 byte[] toByteArray() {
386 // Arrays.copyOfRange() is not available under GWT

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.95
toStringMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected