to top
Android APIs
public interface

GetChars

implements CharSequence
android.text.GetChars
Known Indirect Subclasses

Class Overview

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

? Examples
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.
[Expand]
Inherited Methods
From interface java.lang.CharSequence

Public Methods

public abstract void getChars (int start, int end, char[] dest, int destoff)

Added in API level 1

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

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.