W3cubDocs

/Kotlin

removeAt

abstract fun removeAt(index: Int): E

Overrides MutableList.removeAt

Removes an element at the specified index from the list.

This method is redeclared as abstract, because it's not implemented in the base class, so it must be always overridden in the concrete mutable collection implementation.

Return the element that has been removed.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-abstract-mutable-list/remove-at.html