Build 1.0_r1

java.lang
Interface CharSequence

All Known Subinterfaces:
Editable, GetChars, Spannable, Spanned
All Known Implementing Classes:
AlteredCharSequence, CharBuffer, SpannableString, SpannableStringBuilder, SpannedString, String, StringBuffer, StringBuilder

public interface CharSequence

The CharSequence interface represents an ordered set of characters and the functions to probe them.


Method Summary
 char charAt(int i)
           
 int length()
          Returns the number of characters in the sequence.
 CharSequence subSequence(int i, int j)
           
 String toString()
          Returns a String with the same characters and ordering of this CharSequence
 

Method Detail

length

int length()
Returns the number of characters in the sequence.

Returns:
the number of characters in the sequence

charAt

char charAt(int i)

subSequence

CharSequence subSequence(int i,
                         int j)

toString

String toString()
Returns a String with the same characters and ordering of this CharSequence

Overrides:
toString in class Object
Returns:
a String based on the CharSequence

Build 1.0_r1

Please submit a feedback, bug or feature