- <init>
Creates an instance of CharArrayBuffer with the given initial capacity.
- append
Appends len chars to this buffer from the given source array starting at index
off. The capacity of
- length
Returns the length of the buffer (char count).
- toString
- substringTrimmed
Returns a substring of this buffer with leading and trailing whitespace omitted.
The substring begin
- buffer
Returns reference to the underlying char array.
- substring
Returns a substring of this buffer. The substring begins at the specified
beginIndex and extends to
- clear
Clears content of the buffer. The underlying char array is not resized.
- indexOf
Returns the index within this buffer of the first occurrence of the specified
character, starting th
- ensureCapacity
Ensures that the capacity is at least equal to the specified minimum. If the
current capacity is les
- expand
- isEmpty
Returns true if this buffer is empty, that is, its #length() is equal to 0.