join

abstract fun join(): Component

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

Return

the joined component


abstract fun join(sep: String): Component

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

Return

the joined component

Parameters

sep

the string separator


abstract fun join(sep: Component): Component

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

Return

the joined component

Parameters

sep

the component separator


abstract fun join(conf: JoinConfiguration): Component

Joins all appended components into a single component using a join configuration.

Return

the joined component

Parameters

conf

the join configuration


open fun join(consumer: JoinConfiguration.Builder.() -> Unit): Component

Joins all appended components into a single component using a join configuration DSL.

Return

the joined component

Parameters

consumer

the join configuration builder consumer