Stay organized with collections
Save and categorize content based on your preferences.
GetChars
interface GetChars : CharSequence
Known Direct 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.
|
|
Known Indirect Subclasses
|
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 Unit |
Exactly like String.
|
Public methods
getChars
abstract fun getChars(
start: Int,
end: Int,
dest: CharArray!,
destoff: Int
): Unit
Exactly like String.getChars(): copy chars start
through end - 1
from this CharSequence into dest
beginning at offset destoff
.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-04-04 UTC.",
"confidential": False
}