Appends the pad character to this CharArray the specified number of times. @param padCount negative means no append
(int padCount, char padChar)
| 1016 | /** Appends the pad character to this CharArray the specified number of times. |
| 1017 | * @param padCount negative means no append */ |
| 1018 | public CharArray appendPadding (int padCount, char padChar) { |
| 1019 | if (padCount > 0) { |
| 1020 | require(padCount); |
| 1021 | Arrays.fill(items, size, size + padCount, padChar); |
| 1022 | size += padCount; |
| 1023 | } |
| 1024 | return this; |
| 1025 | } |
| 1026 | |
| 1027 | /** Appends a separator if this CharArray is currently non-empty. The separator is appended using {@link #append(char)}. |
| 1028 | * <p> |