MCPcopy
hub / github.com/libgdx/libgdx / toString

Method toString

gdx/src/com/badlogic/gdx/utils/Queue.java:347–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

345 }
346
347 public String toString () {
348 if (size == 0) {
349 return "[]";
350 }
351 final T[] values = this.values;
352 final int head = this.head;
353 final int tail = this.tail;
354
355 StringBuilder sb = new StringBuilder(64);
356 sb.append('[');
357 sb.append(values[head]);
358 for (int i = (head + 1) % values.length; i != tail; i = (i + 1) % values.length) {
359 sb.append(", ").append(values[i]);
360 }
361 sb.append(']');
362 return sb.toString();
363 }
364
365 public String toString (String separator) {
366 if (size == 0) return "";

Callers 15

toStringTestMethod · 0.95
encodeLinesMethod · 0.45
valueMethod · 0.45
unescapeMethod · 0.45
replaceEscapeCharsMethod · 0.45
simpleFormatMethod · 0.45
attributeMethod · 0.45
textMethod · 0.45
toFileHandleMethod · 0.45
convertToStringMethod · 0.45
getMessageMethod · 0.45
storeImplMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by 1

toStringTestMethod · 0.76