34 - (void)addObject:(
id)anObject
39 [
super addObject:anObject];
41 var UID = [anObject UID];
43 if (_counts[UID] === undefined)
49 - (void)removeObject:(
id)anObject
54 var UID = [anObject UID];
56 if (_counts[UID] === undefined)
63 if (_counts[UID] === 0)
66 [
super removeObject:anObject];
71 - (void)removeAllObjects
73 [
super removeAllObjects];
81 - (unsigned)countForObject:(
id)anObject
86 var UID = [anObject UID];
88 if (_counts[UID] === undefined)
An mutable collection which may contain a specific object numerous times.