Overview
| Comment: | Add a note about fast enumeration to OFDictionary. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
da4d353d4541006c3b2c976e46a26dbd |
| User & Date: | js on 2011-06-04 17:50:21 |
| Other Links: | manifest | tags |
Context
|
2011-06-04
| ||
| 18:01 | Use %g instead of %f in -[OFNumber description]. (check-in: 0ed2ea0df3 user: js tags: trunk) | |
| 17:50 | Add a note about fast enumeration to OFDictionary. (check-in: da4d353d45 user: js tags: trunk) | |
| 16:37 | Add tests for OFSerialization. (check-in: 591b598230 user: js tags: trunk) | |
Changes
Modified src/OFDictionary.h from [297b2e1ca0] to [7b779a5fa3].
| ︙ | ︙ | |||
35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
id <OFCopying> key;
id object;
uint32_t hash;
};
/**
* \brief A class for storing objects in a hash table.
*/
@interface OFDictionary: OFObject <OFCopying, OFMutableCopying, OFCollection,
OFFastEnumeration, OFSerialization>
{
struct of_dictionary_bucket **data;
uint32_t size;
size_t count;
| > > > | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
id <OFCopying> key;
id object;
uint32_t hash;
};
/**
* \brief A class for storing objects in a hash table.
*
* Note: Fast enumeration on a dictionary enumerates through the keys of the
* dictionary.
*/
@interface OFDictionary: OFObject <OFCopying, OFMutableCopying, OFCollection,
OFFastEnumeration, OFSerialization>
{
struct of_dictionary_bucket **data;
uint32_t size;
size_t count;
|
| ︙ | ︙ |