ObjFW  Diff

Differences From Artifact [315f04accc]:

To Artifact [12bb9cf14f]:


130
131
132
133
134
135
136
137

138
139
140
141
142
143
144

145

146
147
148
149
150
151
152
153

154
155
156
157
158
159
160
161
162
163
164
130
131
132
133
134
135
136

137
138
139
140
141
142
143
144
145

146

147
148
149
150
151
152

153
154
155
156
157
158
159
160
161
162
163
164







-
+







+
-
+
-






-
+











 */
- (float)averageItemsPerBucket;

/**
 * \param key The key whose object should be returned
 * \return The object for the given key or nil if the key was not found
 */
- (id)get: (OFObject*)key;
- (id)objectForKey: (OFObject*)key;

/**
 * Sets a key to an object. A key can be any object.
 *
 * \param key The key to set
 * \param obj The object to set the key to
 */
- setObject: (OFObject*)obj
- set: (OFObject <OFCopying>*)key
     forKey: (OFObject <OFCopying>*)key;
   to: (OFObject*)obj;

/**
 * Remove the object with the given key from the dictionary.
 *
 * \param key The key whose object should be removed
 */
- remove: (OFObject*)key;
- removeObjectForKey: (OFObject*)key;

/**
 * Changes the hash size of the dictionary.
 *
 * \param hashsize The new hash size for the dictionary
 */
- changeHashSize: (int)hashsize;
@end

#import "OFIterator.h"
#import "OFMutableDictionary.h"