remove

abstract override fun remove()(source)

Removes from the underlying collection the last element returned by this iterator.

Since Kotlin

1.0

Throws

if neither next nor previous has not been called yet, or the most recent next or previous call has already been followed by a remove or add call.

abstract override fun remove()(source)

Removes from the underlying collection the last element returned by this iterator.

Since Kotlin

1.3

Throws

if neither next nor previous has not been called yet, or the most recent next or previous call has already been followed by a remove or add call.

abstract override fun remove()(source)

Removes from the underlying collection the last element returned by this iterator.

Since Kotlin

1.8

Throws

if neither next nor previous has not been called yet, or the most recent next or previous call has already been followed by a remove or add call.

abstract override fun remove()(source)

Removes from the underlying collection the last element returned by this iterator.

Since Kotlin

1.8

Throws

if neither next nor previous has not been called yet, or the most recent next or previous call has already been followed by a remove or add call.