mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
([NSMutableSet -addObjectsFromArray:]): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
24de0c47d9
commit
fcbf7e33be
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* NSSet - Set object to store key/value pairs
|
||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Andrew Kachites McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Created: Sep 1995
|
||||
|
@ -346,7 +346,10 @@ static Class NSMutableSet_concrete_class;
|
|||
|
||||
- (void) addObjectsFromArray: (NSArray*)array
|
||||
{
|
||||
[self notImplemented:_cmd];
|
||||
int i, c = [array count];
|
||||
|
||||
for (i = 0; i < c; i++)
|
||||
[self addObject: [array objectAtIndex: i]];
|
||||
}
|
||||
|
||||
- (void) unionSet: (NSSet*) other
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue