Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (19 sloc) 0.588 kb
fb64045 @uliwitness Added ULIMultiMap, a dictionary that can store several objects for one k...
authored
1 //
2 // ULIMultiMap.h
3 // Propaganda
4 //
5 // Created by Uli Kusterer on 21.03.10.
6 // Copyright 2010 The Void Software. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11
12 @interface ULIMultiMap : NSObject
13 {
14 NSMutableDictionary* mDictionary;
15 }
16
17 -(void) addObject: (id)theObj forKey: (id)theKey; // Adds it to the list of objects.
18 -(void) setObject: (id)theObj forKey: (id)theKey; // Removes all other objects.
19
20 -(void) removeObject: (id)theObj forKey: (id)theKey;
21 -(void) removeObjectsForKey: (id)theKey;
22 -(void) removeObject: (id)theObj;
23
24 -(NSArray*) objectsForKey: (id)theKey;
25
26 @end
Something went wrong with that request. Please try again.