35 - (void)addObject:(
id)anObject
40 [
super addObject:anObject];
42 var UID = [anObject UID];
44 if (_counts[UID] === undefined)
50 - (void)removeObject:(
id)anObject
55 var UID = [anObject UID];
57 if (_counts[UID] === undefined)
64 if (_counts[UID] === 0)
67 [
super removeObject:anObject];
72 - (void)removeAllObjects
74 [
super removeAllObjects];
82 - (unsigned)countForObject:(
id)anObject
87 var UID = [anObject UID];
89 if (_counts[UID] === undefined)