Appendable
typealias Appendable = AppendableAn 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): Appendableabstract fun append(c: Char): AppendableAppends the specified character sequence value to this Appendable and returns this instance.
abstract fun append(value: CharSequence?): Appendableabstract fun append(csq: CharSequence?): AppendableAppends a subsequence of the specified character sequence value to this Appendable and returns this instance.
abstract fun append(
value: CharSequence?,
startIndex: Int,
endIndex: Int
): Appendableabstract fun append(
csq: CharSequence?,
start: Int,
end: Int
): AppendableExtension Functions
append
Appends all arguments to the given Appendable.
fun <T : Appendable> T.append(vararg value: CharSequence?): TappendRange
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
): TInheritors
StringBuilder
A mutable sequence of characters.
class StringBuilder : Appendable, CharSequencetypealias StringBuilder = StringBuilderclass StringBuilder : CharSequence, Appendable