size

abstract override val size: Int(source)

Returns the number of elements in the multiset.

Note: this method does not return the number of distinct elements in the multiset, which is given by entrySet().size().

See also