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