removeAt

abstract fun removeAt(index: Int): T(source)

Removes the element at index, shifting following elements to the left.

Invalid indexes are rejected by the implementation; ArrayList throws IllegalArgumentException.

Return

the removed element.

Parameters

index

zero-based element index, less than size.