Besides the general-purpose collections code, there's one class in the library which provides enhanced functionality for working with text. This is the com.sosnoski.util.CharBuffer class, which extends the char array collection class.

It supports working with character sequences as a lightweight StringBuffer work-alike. Added methods in the class allow appending, inserting, and replacing text in the array with character sequences coming from a String, char[], or another CharArray or CharBuffer. It also includes methods for comparing these types of character sequences, and for computing format-independent hash codes on the sequences.