9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
* the packaging of this file.
*/
#include <stdarg.h>
#import "OFObject.h"
#import "OFList.h"
/**
* The OFDictionary class provides a class for using hash tables.
*/
@interface OFDictionary: OFObject
{
OFList **data;
|
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
* the packaging of this file.
*/
#include <stdarg.h>
#import "OFObject.h"
#import "OFList.h"
#import "OFArray.h"
/**
* The OFDictionary class provides a class for using hash tables.
*/
@interface OFDictionary: OFObject
{
OFList **data;
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
* \param key The key
* \param obj The object
* \return A new autoreleased OFDictionary
*/
+ dictionaryWithKey: (OFObject <OFCopying>*)key
andObject: (OFObject*)obj;
/**
* Creates a new OFDictionary with the specified keys objects.
*
* \param first The first key
* \return A new autoreleased OFDictionary
*/
+ dictionaryWithKeysAndObjects: (OFObject <OFCopying>*)first, ...;
|
>
>
>
>
>
>
>
>
>
>
|
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
* \param key The key
* \param obj The object
* \return A new autoreleased OFDictionary
*/
+ dictionaryWithKey: (OFObject <OFCopying>*)key
andObject: (OFObject*)obj;
/**
* Creates a new OFDictionary with the specified keys and objects.
*
* \param keys An array of keys
* \param objs An array of objects
* \return A new autoreleased OFDictionary
*/
+ dictionaryWithKeys: (OFArray*)keys
andObjects: (OFArray*)objs;
/**
* Creates a new OFDictionary with the specified keys objects.
*
* \param first The first key
* \return A new autoreleased OFDictionary
*/
+ dictionaryWithKeysAndObjects: (OFObject <OFCopying>*)first, ...;
|
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
* \param key The key
* \param obj The object
* \return A new initialized OFDictionary
*/
- initWithKey: (OFObject <OFCopying>*)key
andObject: (OFObject*)obj;
/**
* Initializes an already allocated OFDictionary with the specified keys and
* objects.
*
* \param first The first key
* \return A new initialized OFDictionary
*/
|
>
>
>
>
>
>
>
>
>
>
>
|
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
* \param key The key
* \param obj The object
* \return A new initialized OFDictionary
*/
- initWithKey: (OFObject <OFCopying>*)key
andObject: (OFObject*)obj;
/**
* Initializes an already allocated OFDictionary with the specified keys and
* objects.
*
* \param keys An array of keys
* \param objs An array of objects
* \return A new initialized OFDictionary
*/
- initWithKeys: (OFArray*)keys
andObjects: (OFArray*)objs;
/**
* Initializes an already allocated OFDictionary with the specified keys and
* objects.
*
* \param first The first key
* \return A new initialized OFDictionary
*/
|