mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Added NSCountedSet interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@644 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a6c1baac6
commit
18e23a6101
2 changed files with 16 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Interface for NSSet for GNUStep
|
||||
/* Interface for NSSet, NSMutableSet, NSCountedSet for GNUStep
|
||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
|
@ -77,4 +77,19 @@
|
|||
|
||||
@end
|
||||
|
||||
@interface NSCountedSet : NSMutableSet <NSCoding, NSCopying>
|
||||
|
||||
+ allocWithZone: (NSZone*)zone;
|
||||
- initWithCapacity: (unsigned)numItems;
|
||||
- initWithArray: (NSArray*)array;
|
||||
- initWithSet: (NSSet*)otherSet;
|
||||
|
||||
- (void) addObject: anObject;
|
||||
- (void) removeObject: anObject;
|
||||
- (unsigned int) countForObject: anObject;
|
||||
- (NSEnumerator*) objectEnumerator;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -36,11 +36,9 @@
|
|||
@end
|
||||
|
||||
@interface NSMutableSet (GNU)
|
||||
#if 0
|
||||
+ (unsigned) defaultCapacity;
|
||||
- initWithType: (const char *)contentEncoding
|
||||
capacity: (unsigned)aCapacity;
|
||||
#endif
|
||||
@end
|
||||
|
||||
@interface NSCountedSet (GNU) <Collecting>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue