mccallum@gnu.ai.mit.edu
)Version: 1.48
Date: 2004/01/28 07:33:20
Copyright: (C) 1995, 1996, 1998 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSSet.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
The NSCountedSet class is used to maintain a set of objects where the number of times each object has been added (wiithout a corresponding removal) is kept track of.
In GNUstep, extra methods are provided to make use of a counted set for uniquing objects easier.
Method summary
Returns the number of times that an object that is equal to the specified object (as determined byt the [-isEqual:] method) has been added to the set and not removed from it.
- Declared in:
- Foundation/NSSet.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Adds anObject to the set.
The object
is retained by the set.
Adds all the objects in the array to the receiver.
Initialises a newly allocated set to contain no
objects but to have space available to hold the
specified number of items.
Additions of
items to a set initialised with an appropriate
capacity will be more efficient than addition of
items otherwise.
Removes from the receiver all the objects it contains which are not also in other.
Removes from the receiver all the objects that are in other.
Removes all objects from the receiver.
Removes the anObject from the receiver.
Removes all objects from the receiver then adds the objects from other. If the receiver is other, the method has no effect.
Adds all the objects from other to the receiver.
- Declared in:
- Foundation/NSSet.h
- Conforms to:
- NSCoding
- NSCopying
- NSMutableCopying
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Returns the number of objects stored in the set.
Description forthcoming.
Description forthcoming.
Initialises a newly allocated set by adding all the objects in the supplied array to the set.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Initialises a newly allocated set by adding all the objects in the supplied set.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
- Declared in:
- Foundation/NSSet.h
Standards:
- NotOpenStep
- NotMacOS-X
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.