Clears this CharArray. This method does not reduce the size of the internal character buffer. To do that, call clear() followed by #shrink(). This method is the same as #setLength(int) called with zero and is provided to match the API of Collections.
()
| 387 | * <p> |
| 388 | * This method is the same as {@link #setLength(int)} called with zero and is provided to match the API of Collections. */ |
| 389 | public void clear () { |
| 390 | size = 0; |
| 391 | } |
| 392 | |
| 393 | /** Sets the array size, leaving any values beyond the current size undefined. |
| 394 | * @return {@link #items} */ |
no outgoing calls