([NSGMutableDictionary -objectForKey:]): New method.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1036 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-03 00:35:52 +00:00
parent 7f08658033
commit f48fa64139

View file

@ -90,7 +90,6 @@
forKeys: (NSString**)keys
count: (unsigned)count
- (unsigned) count
- objectForKey: (NSString*)aKey
- (NSEnumerator*) keyEnumerator
- (NSEnumerator*) objectEnumerator
*/
@ -119,6 +118,13 @@
[self putObject: anObject atKey: aKey];
}
- objectForKey: aKey
{
/* xxx Should I change the method name in Dictionary?
I don't really want to; I think "at" is better. */
return [self objectAtKey: aKey];
}
- (void) removeObjectForKey:(NSString *)aKey
{
[self removeObjectAtKey: aKey];