MCPcopy
hub / github.com/libgdx/libgdx / append

Method append

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

Appends a boolean value to this CharArray.

(boolean value)

Source from the content-addressed store, hash-verified

483
484 /** Appends a boolean value to this CharArray. */
485 public CharArray append (boolean value) {
486 if (value) {
487 require(TRUE_STRING_SIZE);
488 appendTrue(size);
489 } else {
490 require(FALSE_STRING_SIZE);
491 appendFalse(size);
492 }
493 return this;
494 }
495
496 /** Appends a char value to this CharArray. */
497 public CharArray append (char value) {

Callers 15

toStringMethod · 0.95
appendTestMethod · 0.95
appendlnTestMethod · 0.95
paddingTestMethod · 0.95
stringComparisonTestMethod · 0.95
trimCapacityTestMethod · 0.95
unicodeTestMethod · 0.95
edgeCasesTestMethod · 0.95
appendSeparatorTestMethod · 0.95
CharArrayMethod · 0.95
appendAllMethod · 0.95
appendlnMethod · 0.95

Calls 14

requireMethod · 0.95
appendTrueMethod · 0.95
appendFalseMethod · 0.95
appendNullMethod · 0.95
numCharsMethod · 0.95
remainingMethod · 0.80
positionMethod · 0.80
getCharsMethod · 0.80
lengthMethod · 0.45
hasArrayMethod · 0.45
arrayMethod · 0.45
arrayOffsetMethod · 0.45

Tested by 15

toStringMethod · 0.76
appendTestMethod · 0.76
appendlnTestMethod · 0.76
paddingTestMethod · 0.76
stringComparisonTestMethod · 0.76
trimCapacityTestMethod · 0.76
unicodeTestMethod · 0.76
edgeCasesTestMethod · 0.76
appendSeparatorTestMethod · 0.76
renderMethod · 0.36
createMethod · 0.36
createMethod · 0.36