23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
int
main()
{
BOOL caught;
OFDictionary *dict = [OFDictionary dictionaryWithHashSize: 16];
OFIterator *iter = [dict getIterator];
OFAutoreleasePool *pool = [OFAutoreleasePool new];
OFString *key1 = [OFString stringWithCString: "key1"];
OFString *key2 = [OFString stringWithCString: "key2"];
OFString *value1 = [OFString stringWithCString: "value1"];
OFString *value2 = [OFString stringWithCString: "value2"];
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
int
main()
{
BOOL caught;
OFDictionary *dict = [OFDictionary dictionaryWithHashSize: 16];
OFIterator *iter = [dict iterator];
OFAutoreleasePool *pool = [OFAutoreleasePool new];
OFString *key1 = [OFString stringWithCString: "key1"];
OFString *key2 = [OFString stringWithCString: "key2"];
OFString *value1 = [OFString stringWithCString: "value1"];
OFString *value2 = [OFString stringWithCString: "value2"];
|