47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
*/
- (instancetype)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;
/**
* @brief Removes the specified object from the set.
*
* @param object The object to remove from the set
*/
- (void)removeObject: (ObjectType)object;
/**
* @brief Removes all objects from the receiver which are in the specified set.
*
* @param set The set whose objects will be removed from the receiver
|
>
>
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
*/
- (instancetype)initWithCapacity: (size_t)capacity;
/**
* @brief Adds the specified object to the set.
*
* @param object The object to add to the set
* @throw OFInvalidArgumentException The specified object was `nil`
*/
- (void)addObject: (ObjectType)object;
/**
* @brief Removes the specified object from the set.
*
* @param object The object to remove from the set
* @throw OFInvalidArgumentException The specified object was `nil`
*/
- (void)removeObject: (ObjectType)object;
/**
* @brief Removes all objects from the receiver which are in the specified set.
*
* @param set The set whose objects will be removed from the receiver
|