ConcurrentList

class ConcurrentList<T> : MutableList<T>

Constructors

<init>

ConcurrentList()

Properties

size

var size: Int

Functions

add

fun add(element: T): Boolean
fun add(index: Int, element: T): Unit

addAll

fun addAll(index: Int, elements: Collection<T>): Boolean
fun addAll(elements: Collection<T>): Boolean

clear

fun clear(): Unit

contains

fun contains(element: T): Boolean

containsAll

fun containsAll(elements: Collection<T>): Boolean

equals

fun equals(other: Any?): Boolean

get

fun get(index: Int): T

hashCode

fun hashCode(): Int

indexOf

fun indexOf(element: T): Int

isEmpty

fun isEmpty(): Boolean

iterator

fun iterator(): MutableIterator<T>

lastIndexOf

fun lastIndexOf(element: T): Int

listIterator

fun listIterator(): MutableListIterator<T>
fun listIterator(index: Int): MutableListIterator<T>

remove

fun remove(element: T): Boolean

removeAll

fun removeAll(elements: Collection<T>): Boolean

removeAt

fun removeAt(index: Int): T

retainAll

fun retainAll(elements: Collection<T>): Boolean

set

fun set(index: Int, element: T): T

subList

fun subList(fromIndex: Int, toIndex: Int): MutableList<T>

toString

fun toString(): String