remove

fun remove(element: T, count: Int = 1)

Decreases the count of element by count, flooring at zero.

When the count reaches zero the key is removed. Removing an absent element has no effect.

Throws