Functions

Link copied to clipboard
abstract override fun add(element: E): Boolean
Link copied to clipboard
abstract fun addAll(elements: Collection<E>): Boolean
Link copied to clipboard
abstract fun <K2, V2> associate(transformer: (E) -> MapEntry<K2, V2>): Map<K2, V2>
Link copied to clipboard
abstract override fun clear()
Link copied to clipboard
abstract operator fun contains(element: E): Boolean
Link copied to clipboard
abstract fun containsAll(elements: Collection<E>): Boolean
Link copied to clipboard
abstract fun filter(predicate: (E) -> Boolean): List<E>
Link copied to clipboard
abstract fun first(): E
Link copied to clipboard
abstract fun firstOrNull(): E?
Link copied to clipboard
abstract fun forEach(lambda: (item: E) -> Unit)
Link copied to clipboard
abstract fun forEachWithIndex(lambda: (item: E, index: Int) -> Unit)
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): MutableIterator<E>
Link copied to clipboard
abstract fun <R> map(transform: (item: E) -> R): List<R>
Link copied to clipboard
abstract fun <R> mapToArray(transform: (item: E) -> R): Array<R>
Link copied to clipboard
abstract fun <R> mapToArrayWithIndex(transform: (item: E, index: Int) -> R): Array<R>
Link copied to clipboard
abstract fun <R> mapWithIndex(transform: (item: E, index: Int) -> R): List<R>
Link copied to clipboard
abstract override fun remove(element: E): Boolean
Link copied to clipboard
abstract fun removeAll(elements: Collection<E>): Boolean
Link copied to clipboard
abstract fun retainAll(elements: Collection<E>): Boolean
Link copied to clipboard
inline fun <E> Collection<E>.toIList(): List<E>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <E> Collection<E>.toISet(): Set<E>

Properties

Link copied to clipboard
abstract val size: Int