Interface CharArrayExternalizable

All Superinterfaces:
CharSequence
All Known Implementing Classes:
CharSequenceSubSequence

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
See Also:
  • 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 sequence
      end - the index where to end taking chars in this sequence
      dest - the array to put characters into
      destPos - the index where to put the characters in the dest array