-
Sub-task
-
Resolution: Unresolved
-
P4
-
None
-
25
The absolute bulk get method `getChars(int, int, char[], int)` has been added to read from any `CharSequence` into a provided character array. This method is more efficient than a loop over all characters. `String`, `StringBuilder` and `StringBuffer` are examples of `CharSequence` which already provided this method before. `CharBuffer` is an example of a `CharSequence` which now benefits from this unified API. Callers hence can now rely on unified fast-path access, and can abstain from class-specific optimizations.