接口 GetChars

所有超级接口:
CharSequence

public interface GetChars extends CharSequence
Please implement this interface if your CharSequence has a getChars() method like the one in String that is faster than calling charAt() multiple times.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    getChars(int start, int end, char[] dest, int destoff)
    Exactly like String.getChars(): copy chars start through end - 1 from this CharSequence into dest beginning at offset destoff.

    从接口继承的方法 java.lang.CharSequence

    charAt, chars, codePoints, isEmpty, length, subSequence, toString
  • 方法详细资料

    • getChars

      void getChars(int start, int end, char[] dest, int destoff)
      Exactly like String.getChars(): copy chars start through end - 1 from this CharSequence into dest beginning at offset destoff.