Appends "null".
()
| 1003 | |
| 1004 | /** Appends {@code "null"}. */ |
| 1005 | public CharArray appendNull () { |
| 1006 | require(4); |
| 1007 | int length = size; |
| 1008 | items[length] = 'n'; |
| 1009 | items[length + 1] = 'u'; |
| 1010 | items[length + 2] = 'l'; |
| 1011 | items[length + 3] = 'l'; |
| 1012 | size = length + 4; |
| 1013 | return this; |
| 1014 | } |
| 1015 | |
| 1016 | /** Appends the pad character to this CharArray the specified number of times. |
| 1017 | * @param padCount negative means no append */ |