@@ -26,11 +26,11 @@ * * \return A new autoreleased OFDictionary */ + dictionary; -/* +/** * Creates a new OFDictionary with a hash of N bits. * * \param bits The size of the hash to use * \return A new autoreleased OFDictionary */ @@ -41,35 +41,42 @@ * * \return An initialized OFDictionary */ - init; -/* +/** * Initializes an already allocated OFDictionary with a hash of N bits. * * \param bits The size of the hash to use * \return An initialized OFDictionary */ - initWithHashSize: (int)hashsize; -/* +/** * 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 */ - set: (OFObject*)key to: (OFObject*)obj; -/* +/** * \param key The key whose object should be returned * \return The object for the given key */ - get: (OFObject*)key; -/* +/** * Remove the object with the given key from the dictionary. * * \param key The key whose object should be removed */ - remove: (OFObject*)key; + +/** + * Changes the hash size of the dictionary. + * + * \param hashsize The new hash size for the dictionary + */ +- changeHashSize: (int)hashsize; @end