When an array/dictionary/set is used as an NSCache alternative, you might want to evict old elements when count == capacity.
NSCache
count == capacity
But this cache limit could be stored elsewhere, and capacity doesn't need to be a protocol requirement.
capacity
Related topics: