Appendable

interface Appendable

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

typealias Appendable = Appendable

Functions

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

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

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

Appends 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(value: CharSequence?, startIndex: Int, endIndex: Int): Appendable
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

StringBuilder
Link copied to clipboard

Extensions

appendLine
Link copied to clipboard
Common
inline fun Appendable.appendLine(): Appendable

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

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

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

appendln
Link copied to clipboard
fun Appendable.appendln(): Appendable

Appends a line separator to this Appendable.

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

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