Appendable

expect interface Appendable(source)

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

actual typealias Appendable = Appendable
actual interface Appendable

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

actual interface Appendable

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

Functions

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

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

expect abstract fun append(value: CharSequence?): Appendable

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

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.

actual abstract fun append(value: Char): Appendable

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

actual abstract fun append(value: CharSequence?): Appendable

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

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.

actual abstract fun append(value: Char): Appendable

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

actual abstract fun append(value: CharSequence?): Appendable

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

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.

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard

Appends a line feed character (\n) to this Appendable.

inline fun Appendable.appendLine(value: Char): Appendable

Appends value to the given Appendable and a line feed character (\n) after it.

Link copied to clipboard

Appends a line separator to this Appendable.

inline fun Appendable.appendln(value: Char): Appendable

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