mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
([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:
parent
7f08658033
commit
f48fa64139
1 changed files with 7 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue