lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

GetChars

public interface GetChars
implements CharSequence

android.text.GetChars


Please implement this interface if your CharSequence has a getChars() method like the one in String that is faster than calling charAt() multiple times.

Summary

Public methods

abstract 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.

Inherited methods

Public methods

getChars

added in API level 1
public abstract 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.

Parameters
start int

end int

dest char

destoff int