ListingBuilder

Builder for declaring enumeration elements.

Parameters

T

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(element: T)

Function to add element to result list.

Link copied to clipboard
fun addAll(vararg elements: T): Boolean

Function to add multiple elements

Link copied to clipboard
operator fun T.unaryPlus()

Operator function to add elements by unaryPlus operator.