Known Indirect Subclasses
AlteredCharSequence |
An AlteredCharSequence is a CharSequence that is largely mirrored from
another CharSequence, except that a specified range of characters are
mirrored from a different char array instead.
|
Editable |
This is the interface for text whose content and markup
can be changed (as opposed
to immutable text like Strings).
|
SpannableString |
This is the class for text whose content is immutable but to which
markup objects can be attached and detached.
|
SpannableStringBuilder |
This is the class for text whose content and markup can both be changed.
|
SpannedString |
This is the class for text whose content and markup are immutable.
|
|
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 |
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
abstract
char
|
charAt(int index)
Returns the character at index .
|
abstract
int
|
length()
Returns the number of characters in this sequence.
|
abstract
CharSequence
|
subSequence(int start, int end)
Returns a CharSequence from the start index (inclusive)
to the end index (exclusive) of this sequence.
|
abstract
String
|
toString()
Returns a string with the same characters in the same order as in this
sequence.
|
|
Public Methods
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
.