mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 03:01:27 +00:00
o rewritten to avoid creation of temporary arrays,...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18355 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c50448b302
commit
310f5500a7
2 changed files with 1119 additions and 92 deletions
|
@ -1,6 +1,6 @@
|
|||
/** GSWMultiKeyDictionary.h - <title>GSWeb: Class GSWMultiKeyDictionary</title>
|
||||
|
||||
Copyright (C) 1999-2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999-2003 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Manuel Guesdon <mguesdon@orange-concept.com>
|
||||
Date: Mar 1999
|
||||
|
@ -36,35 +36,39 @@
|
|||
//==============================================================================
|
||||
@interface GSWMultiKeyDictionary : NSObject
|
||||
{
|
||||
NSMutableDictionary* _dict;
|
||||
void* _mapBase;
|
||||
};
|
||||
|
||||
+(id)dictionary;
|
||||
-(id)init;
|
||||
-(id)initWithCapacity:(unsigned int)capacity;
|
||||
-(void)dealloc;
|
||||
-(NSString*)description;
|
||||
|
||||
|
||||
-(NSEnumerator*)objectEnumerator;
|
||||
-(void)removeAllObjects;
|
||||
-(void)setObject:(id)object
|
||||
forKeys:(id)keys,...;
|
||||
-(id)objectForKeys:(id)keys,...;
|
||||
-(void)removeObjectForKeys:(id)keys,...;
|
||||
|
||||
-(void)setObject:(id)object
|
||||
forKey:(id)key
|
||||
andKeys:(va_list)nextKeys;
|
||||
-(id)objectForKey:(id)key
|
||||
andKeys:(va_list)nextKeys;
|
||||
-(void)removeObjectForKey:(id)key
|
||||
andKeys:(va_list)nextKeys;
|
||||
|
||||
-(void)setObject:(id)object
|
||||
forKeysArray:(NSArray*)keys;
|
||||
-(id)objectForKeysArray:(NSArray*)keys;
|
||||
-(NSArray*)allValues;
|
||||
-(NSArray*)allKeys;
|
||||
-(NSArray*)objectsForKeysArrays:(NSArray*)keys
|
||||
notFoundMarker:(id)notFoundMarker;
|
||||
-(void)removeObjectForKeysArray:(NSArray*)keys;
|
||||
|
||||
-(void)makeObjectsPerformSelector:(SEL)selector;
|
||||
-(void)makeObjectsPerformSelector:(SEL)selector
|
||||
withObject:(id)object;
|
||||
-(void)makeObjectsPerformSelector:(SEL)selector
|
||||
withObject:(id)object1
|
||||
withObject:(id)object2;
|
||||
-(NSEnumerator*)objectEnumerator;
|
||||
-(NSArray*)allValues;
|
||||
@end
|
||||
|
||||
#endif // _GSWMultiKeyDictionary_h__
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue