49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
if (![objects[i] isEqual: otherObjects[i]])
return false;
return true;
}
#ifdef OF_HAVE_BLOCKS
- (void)enumerateObjectsUsingBlock: (of_array_enumeration_block_t)block
{
id const *objects = self.objects;
bool stop = false;
for (size_t i = 0; i < _range.length && !stop; i++)
block(objects[i], i, &stop);
}
#endif
@end
|
|
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
if (![objects[i] isEqual: otherObjects[i]])
return false;
return true;
}
#ifdef OF_HAVE_BLOCKS
- (void)enumerateObjectsUsingBlock: (OFArrayEnumerationBlock)block
{
id const *objects = self.objects;
bool stop = false;
for (size_t i = 0; i < _range.length && !stop; i++)
block(objects[i], i, &stop);
}
#endif
@end
|