Differences From Artifact [2b0ed74966]:
- File
src/OFDictionary.m
— part of check-in
[033054ad75]
at
2009-05-29 19:21:57
on branch trunk
— A few renames.
OFExceptions:
* OFNoMemException to OFOutOfMemoryException.
* OFMemNotPartOfObjException to OFMemoryNotPartOfObjectException.OFObject:
* -[addItemToMemoryPool:] to -[addMemoryToPool:].
* -[allocWithSize:] to -[allocMemoryWithSize:].
* -[allocNItems:withSize] to -[allocMemoryForNItems:withSize:].
* -[resizeMem:toSize] to -[resizeMemory:toSize:].
* -[resizeMem:toNItems:withSize:] to
-[resizeMemoryToNItems:withSize:].
* -[freeMem] to -[freeMemory:].OFString:
* -[urlencode] to -[urlEncodedString].
* -[urldecode] to -[urlDecodedString]. (user: js, size: 6750) [annotate] [blame] [check-ins using]
To Artifact [01f5ecb4a1]:
- File
src/OFDictionary.m
— part of check-in
[41974cf38d]
at
2009-06-09 20:10:52
on branch trunk
— Move documentation of mutating methods.
Mutating methods are now documented in the mutable class. (user: js, size: 6750) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
332 333 334 335 336 337 338 | for (iter = [data[hash] first]; iter != NULL; iter = iter->next->next) if ([iter->object isEqual: key]) return iter->next->object; return nil; } | < < < < < < < < < < < < < < < < < < < | 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | for (iter = [data[hash] first]; iter != NULL; iter = iter->next->next) if ([iter->object isEqual: key]) return iter->next->object; return nil; } /* FIXME: Implement this! */ /* - (BOOL)isEqual { } - (id)copy |
︙ | ︙ | |||
376 377 378 379 380 381 382 383 | for (i = 0; i < size; i++) if (data[i] != nil) [data[i] release]; [super dealloc]; } @end | > > > > > > > > > > > > > > > > > > > | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | for (i = 0; i < size; i++) if (data[i] != nil) [data[i] release]; [super dealloc]; } - setObject: (OFObject*)obj forKey: (OFObject <OFCopying>*)key { @throw [OFNotImplementedException newWithClass: isa andSelector: _cmd]; } - removeObjectForKey: (OFObject*)key { @throw [OFNotImplementedException newWithClass: isa andSelector: _cmd]; } - changeHashSize: (int)hashsize { @throw [OFNotImplementedException newWithClass: isa andSelector: _cmd]; } @end |