Differences From Artifact [bde628b396]:
- File src/OFArray.h — part of check-in [89d53f2a9a] at 2012-03-29 07:57:34 on branch trunk — Add a few "const" where they make sense. (user: js, size: 9321) [annotate] [blame] [check-ins using] [more...]
To Artifact [01516d5008]:
- File
src/OFArray.h
— part of check-in
[95e8e1e486]
at
2012-06-10 16:03:01
on branch trunk
— Add a few array methods.
OFArray:
* +[arrayByAddingObject:]
* +[arrayByAddingObjectsFromArray:]OFMutableArray:
* -[addObjectsFromArray:]
* -[insertObjectsFromArray:atIndex:] (user: js, size: 9799) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
268 269 270 271 272 273 274 275 276 277 278 279 280 281 | /** * \brief Returns a copy of the array with the order reversed. * * \return A copy of the array with the order reversed */ - (OFArray*)reversedArray; #ifdef OF_HAVE_BLOCKS /** * \brief Executes a block for each object. * * \param block The block to execute for each object */ - (void)enumerateObjectsUsingBlock: (of_array_enumeration_block_t)block; | > > > > > > > > > > > > > > > > | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | /** * \brief Returns a copy of the array with the order reversed. * * \return A copy of the array with the order reversed */ - (OFArray*)reversedArray; /** * \brief Creates a new array with the specified object added. * * \param object The object to add * \return A new array with the specified object added */ - (OFArray*)arrayByAddingObject: (id)object; /** * \brief Creates a new array with the objects from the specified array added. * * \param array The array with objects to add * \return A new array with the objects from the specified array added */ - (OFArray*)arrayByAddingObjectsFromArray: (OFArray*)array; #ifdef OF_HAVE_BLOCKS /** * \brief Executes a block for each object. * * \param block The block to execute for each object */ - (void)enumerateObjectsUsingBlock: (of_array_enumeration_block_t)block; |
︙ | ︙ |