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