- All Superinterfaces:
CharSequence
- All Known Implementing Classes:
CharSequenceSubSequence
A char sequence that supports fast copying of its full or partial contents to a char array. May be useful for performance optimizations
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetChars(int start, int end, char @NotNull [] dest, int destPos) Copies own character sub-sequence to the given arrayMethods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, isEmpty, length, subSequence, toString
-
Method Details
-
getChars
void getChars(int start, int end, char @NotNull [] dest, int destPos) Copies own character sub-sequence to the given array- Parameters:
start- the index where to start taking chars from in this sequenceend- the index where to end taking chars in this sequencedest- the array to put characters intodestPos- the index where to put the characters in the dest array
-