Interface CharArrayExternalizable
-
- All Superinterfaces:
CharSequence
public interface CharArrayExternalizable extends CharSequence
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
getChars(int start, int end, char[] dest, int destPos)
Copies own character sub-sequence to the given array-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
-
-
-
Method Detail
-
getChars
void getChars(int start, int end, @NotNull char[] 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
-
-