130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
+
+
+
+
+
|
if (data[hash] == nil)
@throw [OFNotInSetException newWithClass: isa];
for (iter = [data[hash] first]; iter != NULL; iter = iter->next->next) {
if ([iter->object isEqual: key]) {
[data[hash] remove: iter->next];
[data[hash] remove: iter];
if ([data[hash] first] == NULL) {
[data[hash] release];
data[hash] = nil;
}
return self;
}
}
@throw [OFNotInSetException newWithClass: isa];
}
|