Functions
Link copied to clipboard
Returns empty settable list.
Link copied to clipboard
fun <Element> KoneSettableList.Companion.fill(size: UInt, element: Element): KoneSettableList<Element>
Link copied to clipboard
inline fun <Element> KoneSettableList.Companion.generate(size: UInt, initializer: (index: UInt) -> Element): KoneSettableList<Element>
Returns a settable list of provided size of elements produced by the initializer.
inline fun <Element> KoneSettableList.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Element): KoneSettableList<Element>
Returns a settable list of elements over the provided indices range produced by the initializer.
Link copied to clipboard
inline fun <Element> KoneSettableList.Companion.induce(size: UInt, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneSettableList<Element>
Returns a settable list of provided size where each next element is computed from the previous one.
inline fun <Element> KoneSettableList.Companion.induce(indices: UIntRange, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneSettableList<Element>
Returns a settable list of elements over the provided indices range where each next element is computed from the previous one.
Link copied to clipboard
Returns a settable list containing the given elements.