KoneMutableList
Represents a finite collection of elements with some order on them with possibility to add, replace, and replace element at the provided index.
This interface's inheritors must have some specific structure that provides optimized elements access or optimized elements iteration. Without both of them (or with bad time complexity like \(O(n)\)) the interface should not be used.
Inheritors
Functions
Adds provided elements at the end of the ordered collection.
Converts this KoneIterable to a KoneSequence by returning this iterable's iterators.
fun <Element> KoneIterable<Element>.containsAllFrom(elements: KoneIterable<Element>): Boolean
inline fun <E, R> KoneSettableList<E>.heapsortByDescending(selector: (E) -> R)
Checks if the iterable is not empty.
Initiates a mutable iterator over the collection's elements with pointer before the first element.
Initiates a mutable iterator over the collection's elements with pointer between elements with indices index - 1 and index correspondingly.
Iterates over the collection and retains only the elements matching the predicate.
Iterates over the collection and retains only the elements matching the predicate.
Converts this iterable to a KoneList.
Converts this iterable to a KoneMutableList.
Converts this iterable to a KoneMutableNoddedList.
Converts this iterable to a KoneNoddedList.
Converts this iterable to a KoneSettableList.
Converts this iterable to a KoneSettableNoddedList.