274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
count: (int)count
{
OF_UNRECOGNIZED_SELECTOR
}
- (bool)isEqual: (id)object
{
OFSet *otherSet;
if (![object isKindOfClass: [OFSet class]])
return false;
otherSet = object;
if ([otherSet count] != [self count])
return false;
return [otherSet isSubsetOfSet: self];
}
- (uint32_t)hash
{
void *pool = objc_autoreleasePoolPush();
uint32_t hash = 0;
|
|
>
>
>
|
|
|
|
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
|
count: (int)count
{
OF_UNRECOGNIZED_SELECTOR
}
- (bool)isEqual: (id)object
{
OFSet *set;
if (object == self)
return true;
if (![object isKindOfClass: [OFSet class]])
return false;
set = object;
if ([set count] != [self count])
return false;
return [set isSubsetOfSet: self];
}
- (uint32_t)hash
{
void *pool = objc_autoreleasePoolPush();
uint32_t hash = 0;
|