- <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
- charAt
Returns the char value in this buffer at the specified index. The index argument
must be greater tha
- length
Returns the length of the buffer (char count).
- toString
- array
Returns reference to the underlying char array.
- clear
Clears content of the buffer. The underlying char array is not resized.
- ensureCapacity
Ensures that the capacity is at least equal to the specified minimum. If the
current capacity is les
- indexOf
Returns the index within this buffer of the first occurrence of the specified
character, starting th
- isEmpty
Returns true if this buffer is empty, that is, its #length() is equal to 0.
- setLength
Sets the length of the buffer. The new length value is expected to be less than
the current capacity
- substringTrimmed
Returns a substring of this buffer with leading and trailing whitespace omitted.
The substring begin