@@ -38,11 +38,11 @@ */ - (void)addObject: (id)obj atIndex: (size_t)index; /** - * Replaces all objects equivalent to the first specified object with the + * 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 */ @@ -52,46 +52,44 @@ /** * 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 - * \return The old object, autoreleased */ -- (id)replaceObjectAtIndex: (size_t)index - withObject: (id)obj; +- (void)replaceObjectAtIndex: (size_t)index + withObject: (id)obj; /** - * Replaces all objects that have the same address as the first specified object - * with the second specified object. + * 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 all objects equivalent to the specified object. + * Removes the first object equivalent to the specified object. * * \param obj The object to remove */ - (void)removeObject: (id)obj; /** - * Removes all objects that have the same address as the specified object. + * 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 - * \return The object that was at the index, autoreleased */ -- (id)removeObjectAtIndex: (size_t)index; +- (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