I can’t understand what the documentation is saying about this method, count(for:)
from the doc:
"Returns the count associated with a given object in the set.”
also from the doc:
" The count associated with
anObject in the set, which can be thought of as the number of occurrences of
anObject present in the set.”
is it saying that since Set and NSSet and its subclass NSCountedSet are implemented as HashTable, then accessing the count is done in constant time?