Appendable
typealias Appendable = Appendable
An object to which char sequences and values can be appended.
Functions
append
Appends the specified character value to this Appendable and returns this instance.
abstract fun append(value: Char): Appendable
abstract fun append(c: Char): Appendable
Appends the specified character sequence value to this Appendable and returns this instance.
abstract fun append(value: CharSequence?): Appendable
abstract fun append(csq: CharSequence?): Appendable
Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.
abstract fun append(
value: CharSequence?,
startIndex: Int,
endIndex: Int
): Appendable
abstract fun append(
csq: CharSequence?,
start: Int,
end: Int
): Appendable
Extension Functions
append
Appends all arguments to the given Appendable.
fun <T : Appendable> T.append(vararg value: CharSequence?): T
appendRange
Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.
fun <T : Appendable> T.appendRange(
value: CharSequence?,
startIndex: Int,
endIndex: Int
): T
Inheritors
StringBuilder
A mutable sequence of characters.
class StringBuilder : Appendable, CharSequence
typealias StringBuilder = StringBuilder
class StringBuilder : CharSequence, Appendable