count
Returns the number of elements in this set.
Returns the number of elements matching the given predicate.
Parameters
predicate
Called for all elements in the set to count the number for which it returns true.
Returns the number of elements in this set.
Returns the number of elements matching the given predicate.
Called for all elements in the set to count the number for which it returns true.