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

Method toString

gdx/src/com/badlogic/gdx/utils/CharArray.java:2016–2019  ·  view source on GitHub ↗

Returns a String version of this CharArray, creating a new instance each time the method is called.

()

Source from the content-addressed store, hash-verified

2014
2015 /** Returns a String version of this CharArray, creating a new instance each time the method is called. */
2016 public String toString () {
2017 if (size == 0) return "";
2018 return new String(items, 0, size);
2019 }
2020
2021 public String toString (String separator) {
2022 if (size == 0) return "";

Callers 15

constructorTestMethod · 0.95
appendTestMethod · 0.95
appendlnTestMethod · 0.95
paddingTestMethod · 0.95
deleteTestMethod · 0.95
replaceTestMethod · 0.95
insertTestMethod · 0.95
trimCapacityTestMethod · 0.95
readerWriterTestMethod · 0.95
iteratorTestMethod · 0.95
edgeCasesTestMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by 15

constructorTestMethod · 0.76
appendTestMethod · 0.76
appendlnTestMethod · 0.76
paddingTestMethod · 0.76
deleteTestMethod · 0.76
replaceTestMethod · 0.76
insertTestMethod · 0.76
trimCapacityTestMethod · 0.76
readerWriterTestMethod · 0.76
iteratorTestMethod · 0.76
edgeCasesTestMethod · 0.76