Differences From Artifact [a52014b3ad]:
- File src/OFMutableArray.h — part of check-in [9d6716470e] at 2010-09-08 21:17:46 on branch trunk — Fix Objective C++ compatibility. (user: js, size: 2867) [annotate] [blame] [check-ins using]
To Artifact [cb7ba1bfa9]:
- File
src/OFMutableArray.h
— part of check-in
[de45535c23]
at
2010-09-19 02:34:10
on branch trunk
— Only handle the first matching object in OFMutalbeArray operations.
This only makes sense as we use "Object" in the method names, implying
it's only affecting one object. (user: js, size: 2793) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
36 37 38 39 40 41 42 | * \param obj An object to add * \param index The index where the object should be added */ - (void)addObject: (id)obj atIndex: (size_t)index; /** | | < | | | | | | < | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | * \param obj An object to add * \param index The index where the object should be added */ - (void)addObject: (id)obj atIndex: (size_t)index; /** * Replaces the first object equivalent to the first specified object with the * second specified object. * * \param old The object to replace * \param new The replacement object */ - (void)replaceObject: (id)old withObject: (id)new_; /** * Replaces the object at the specified index with the specified object. * * \param index The index of the object to replace * \param obj The replacement object */ - (void)replaceObjectAtIndex: (size_t)index withObject: (id)obj; /** * Replaces the first object that has the same address as the first specified * object with the second specified object. * * \param old The object to replace * \param new The replacement object */ - (void)replaceObjectIdenticalTo: (id)old withObject: (id)new_; /** * Removes the first object equivalent to the specified object. * * \param obj The object to remove */ - (void)removeObject: (id)obj; /** * Removes the first object that has the same address as the specified object. * * \param obj The object to remove */ - (void)removeObjectIdenticalTo: (id)obj; /** * Removes the object at the specified index. * * \param index The index of the object to remove */ - (void)removeObjectAtIndex: (size_t)index; /** * Removes the specified amount of objects from the end of the OFArray. * * \param nobjects The number of objects to remove */ - (void)removeNObjects: (size_t)nobjects; |
︙ | ︙ |