Uncomment -keyEnumerator and -objectEnumerator. Fix indentation.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@414 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1995-05-05 18:32:50 +00:00
parent 172b84f5c9
commit 8e1a5f277b

View file

@ -23,44 +23,45 @@
#include <objects/Dictionary.h>
@class NSArray;
@class NSString;
@class NSArray, NSString, NSEnumerator;
@interface NSDictionary : Dictionary <NSCopying>
@interface NSDictionary : NSObject <NSCopying>
+ allocWithZone:(NSZone *)zone;
+ allocWithZone: (NSZone*)zone;
+ dictionary;
+ dictionaryWithObjects:(id *)objects forKeys:(NSString **)keys count:(unsigned)count;
+ dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
- initWithObjects:(id *)objects forKeys:(NSString **)keys count:(unsigned)count;
- initWithDictionary:(NSDictionary *)otherDictionary;
- initWithContentsOfFile:(NSString *)path;
+ dictionaryWithObjects: (id*)objects forKeys: (NSString**)keys
count: (unsigned)count;
+ dictionaryWithObjects: (NSArray*)objects forKeys: (NSArray*)keys;
- initWithObjects: (id*)objects forKeys: (NSString**)keys
count: (unsigned)count;
- initWithDictionary: (NSDictionary*)otherDictionary;
- initWithContentsOfFile: (NSString*)path;
- (unsigned)count;
- objectForKey:(NSString *)aKey;
//- (NSEnumerator *)keyEnumerator;
- (BOOL)isEqualToDictionary:(NSDictionary *)other;
- (NSString *)description;
- (NSString *)descriptionWithIndent:(unsigned)level;
- (NSArray *)allKeys;
- (NSArray *)allValues;
- (NSArray *)allKeysForObject:anObject;
- (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile;
//- (NSEnumerator *)objectEnumerator;
- (unsigned) count;
- objectForKey: (NSString*)aKey;
- (NSEnumerator*) keyEnumerator;
- (BOOL) isEqualToDictionary: (NSDictionary*)other;
- (NSString*) description;
- (NSString*) descriptionWithIndent: (unsigned)level;
- (NSArray*) allKeys;
- (NSArray*) allValues;
- (NSArray*) allKeysForObject: anObject;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
- (NSEnumerator*) objectEnumerator;
@end
@interface NSMutableDictionary: NSDictionary
+ allocWithZone:(NSZone *)zone;
+ dictionaryWithCapacity:(unsigned)numItems;
- initWithCapacity:(unsigned)numItems;
+ allocWithZone: (NSZone*)zone;
+ dictionaryWithCapacity: (unsigned)numItems;
- initWithCapacity: (unsigned)numItems;
- (void)setObject:anObject forKey:(NSString *)aKey;
- (void)removeObjectForKey:(NSString *)aKey;
- (void)removeAllObjects;
- (void)removeObjectsForKeys:(NSArray *)keyArray;
- (void)addEntriesFromDictionary:(NSDictionary *)otherDictionary;
- (void) setObject: anObject forKey: (NSString*)aKey;
- (void) removeObjectForKey: (NSString*)aKey;
- (void) removeAllObjects;
- (void) removeObjectsForKeys: (NSArray*)keyArray;
- (void) addEntriesFromDictionary: (NSDictionary*)otherDictionary;
@end