clear

abstract fun clear()(source)

Removes all elements from this collection.

Since Kotlin

1.0
abstract fun clear()(source)

Removes all elements from this collection.

Since Kotlin

1.1
abstract fun clear()(source)

Removes all elements from this collection.

Since Kotlin

1.3
abstract fun clear()(source)

Removes all elements from this collection.

Since Kotlin

1.8
abstract fun clear()(source)

Removes all elements from this collection.

Since Kotlin

1.8