Build 1.0_r1(from source)

android.text
Interface GetChars

All Superinterfaces:
CharSequence
All Known Subinterfaces:
Editable
All Known Implementing Classes:
AlteredCharSequence, Layout.Ellipsizer, Layout.SpannedEllipsizer, SpannableString, SpannableStringBuilder, SpannedString

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.


Method Summary
 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.
 
Methods inherited from interface java.lang.CharSequence
charAt, length, subSequence, toString
 

Method Detail

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.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature