Appendable

expect interface Appendable(source)

An object to which char sequences and values can be appended.

Since Kotlin

1.2
actual typealias Appendable = Appendable

Since Kotlin

1.1
actual interface Appendable(source)

An object to which char sequences and values can be appended.

Since Kotlin

1.1

Functions

Link copied to clipboard
expect abstract fun append(value: Char): Appendable

Appends the specified character value to this Appendable and returns this instance.

Since Kotlin 1.2
expect abstract fun append(value: CharSequence?): Appendable

Appends the specified character sequence value to this Appendable and returns this instance.

Since Kotlin 1.2
expect abstract fun append(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable

Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.

Since Kotlin 1.2
actual abstract fun append(value: Char): Appendable

Appends the specified character value to this Appendable and returns this instance.

Since Kotlin 1.1
actual abstract fun append(value: CharSequence?): Appendable

Appends the specified character sequence value to this Appendable and returns this instance.

Since Kotlin 1.1
actual abstract fun append(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable

Appends a subsequence of the specified character sequence value to this Appendable and returns this instance.

Since Kotlin 1.1

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard

Appends a line separator to this Appendable.

Since Kotlin 1.0
inline fun Appendable.appendln(value: Char): Appendable

Appends value to the given Appendable and line separator after it.

Since Kotlin 1.0