54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
-
+
-
-
+
-
|
ret = [[OFMutableMapTableSet alloc] initWithObject: firstObject
arguments: arguments];
va_end(arguments);
return ret;
}
- (instancetype)initWithObjects: (id const *)objects
- (instancetype)initWithObjects: (id const *)objects count: (size_t)count
count: (size_t)count
{
return (id)[[OFMutableMapTableSet alloc] initWithObjects: objects
count: count];
}
- (instancetype)initWithObject: (id)firstObject
- (instancetype)initWithObject: (id)firstObject arguments: (va_list)arguments
arguments: (va_list)arguments
{
return (id)[[OFMutableMapTableSet alloc] initWithObject: firstObject
arguments: arguments];
}
- (instancetype)initWithSerialization: (OFXMLElement *)element
{
|
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
|
-
+
|
for (id object in self) {
assert(i < count);
cArray[i++] = object;
}
for (i = 0; i < count; i++)
if (![set containsObject: cArray[i]])
[self removeObject: cArray[i]];
[self removeObject: cArray[i]];
} @finally {
free(cArray);
}
objc_autoreleasePoolPop(pool);
}
|