collect

abstract fun collect(): Component

Collects all appended components into a single component without a separator.

Return

the collected component


abstract fun collect(separator: String): Component

Collects all appended components into a single component with a string separator.

Return

the collected component

Parameters

separator

the string separator


abstract fun collect(separator: Component): Component

Collects all appended components into a single component with a component separator.

Return

the collected component

Parameters

separator

the component separator