removeElements

open override fun removeElements(from: Int, to: Int)

Remove a range of elements [from, to) and corresponding weights.

If from == to nothing happens.

Throws

if indices invalid (delegated to underlying lists).