Differences From Artifact [8a891f0a53]:
- File
src/OFMutableSet.h
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 2013) [annotate] [blame] [check-ins using] [more...]
To Artifact [d89f1cc35c]:
- File src/OFMutableSet.h — part of check-in [f50d7da785] at 2016-06-05 20:27:27 on branch trunk — Add +[OFMutableSet setWithCapacity:] (user: js, size: 2553) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | @interface OFMutableSet <ObjectType>: OFSet <ObjectType> #else # ifndef DOXYGEN # define ObjectType id # endif @interface OFMutableSet: OFSet #endif /*! * @brief Adds the specified object to the set. * * @param object The object to add to the set */ - (void)addObject: (ObjectType)object; | > > > > > > > > > > > > > > > > > > | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | @interface OFMutableSet <ObjectType>: OFSet <ObjectType> #else # ifndef DOXYGEN # define ObjectType id # endif @interface OFMutableSet: OFSet #endif /*! * @brief Creates a new OFMutableSet with enough memory to hold the specified * number of objects. * * @param capacity The initial capacity for the OFMutableSet * @return A new autoreleased OFMutableSet */ + (instancetype)setWithCapacity: (size_t)capacity; /*! * @brief Initializes an already allocated OFMutableSet with enough memory to * hold the specified number of objects. * * @param capacity The initial capacity for the OFMutableSet * @return An initialized OFMutableSet */ - initWithCapacity: (size_t)capacity; /*! * @brief Adds the specified object to the set. * * @param object The object to add to the set */ - (void)addObject: (ObjectType)object; |
︙ | ︙ |