Queue

Constructors

Link copied to clipboard
constructor(vararg elms: E)
constructor(list: MutableList<E>)

Functions

Link copied to clipboard
open override fun add(element: E): Boolean
open override fun add(index: Int, element: E)
Link copied to clipboard
open override fun addAll(elements: Collection<E>): Boolean
open override fun addAll(index: Int, elements: Collection<E>): Boolean
Link copied to clipboard
open override fun <K2, V2> associate(transformer: (E) -> MapEntry<K2, V2>): Map<K2, V2>
Link copied to clipboard
open override fun clear()
Link copied to clipboard
open operator override fun contains(element: E): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<E>): Boolean
Link copied to clipboard
open override fun filter(predicate: (E) -> Boolean): List<E>
Link copied to clipboard
open override fun first(): E
Link copied to clipboard
open override fun firstOrNull(): E?
Link copied to clipboard
open override fun forEach(lambda: (item: E) -> Unit)
Link copied to clipboard
open override fun forEachWithIndex(lambda: (item: E, index: Int) -> Unit)
Link copied to clipboard
open operator override fun get(index: Int): E
Link copied to clipboard
open override fun indexOf(element: E): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): MutableIterator<E>
Link copied to clipboard
open override fun lastIndexOf(element: E): Int
Link copied to clipboard
open override fun listIterator(): MutableListIterator<E>
open override fun listIterator(index: Int): MutableListIterator<E>
Link copied to clipboard
open override fun <R> map(transform: (item: E) -> R): List<R>
Link copied to clipboard
open override fun <R> mapToArray(transform: (item: E) -> R): Array<R>
Link copied to clipboard
open override fun <R> mapToArrayWithIndex(transform: (item: E, index: Int) -> R): Array<R>
Link copied to clipboard
open override fun <R> mapWithIndex(transform: (item: E, index: Int) -> R): List<R>
Link copied to clipboard
open override fun remove(element: E): Boolean
Link copied to clipboard
open override fun removeAll(elements: Collection<E>): Boolean
Link copied to clipboard
open override fun removeAt(index: Int): E
Link copied to clipboard
open override fun retainAll(elements: Collection<E>): Boolean
Link copied to clipboard
open operator override fun set(index: Int, element: E): E
Link copied to clipboard
fun shift(): E?
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): MutableList<E>
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
open override val size: Int