libs-base/Documentation/gsdoc/NSMutableSet.html
CaS 96f7a05520 Fles out a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10012 72102866-910b-0410-8b05-ffd578937521
2001-05-22 09:43:39 +00:00

119 lines
3.6 KiB
HTML

<html><head>
<title>NSMutableSet</title>
</head>
<body>
<a href ="NSMutableDictionary.html">[Previous] </a>
<a href ="Base.html">[Up] </a>
<a href ="NSMutableString.html">[Next] </a>
<h1>NSMutableSet</h1>
<h3>Authors </h3>
<dl>
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
<dd>
</dl>
<p>Version: $Revision$</p>
<p>Date: $Date$</p>
<h2><a name ="cont-0">NSMutableSet</a></h2>
<h2><a name ="NSMutableSet">NSMutableSet</a></h2>
<p><b>Declared in: </b> Foundation/NSSet.h</p>
<p><b>Inherits from: </b> NSSet</p>
<p><b>Conforms to: </b> NSCoding
</p>
<hr>
<h2>Instance Variables </h2>
<ul>
</ul>
<h2>Methods </h2>
<ul>
<li ><a href ="NSMutableSet.html#method-0">+allocWithZone:</a>
<li ><a href ="NSMutableSet.html#method-1">+setWithCapacity:</a>
<li ><a href ="NSMutableSet.html#method-2">-addObject:</a>
<li ><a href ="NSMutableSet.html#method-3">-addObjectsFromArray:</a>
<li ><a href ="NSMutableSet.html#method-4">-initWithCapacity:</a>
<li ><a href ="NSMutableSet.html#method-5">-intersectSet:</a>
<li ><a href ="NSMutableSet.html#method-6">-minusSet:</a>
<li ><a href ="NSMutableSet.html#method-7">-removeAllObjects</a>
<li ><a href ="NSMutableSet.html#method-8">-removeObject:</a>
<li ><a href ="NSMutableSet.html#method-9">-setSet:</a>
<li ><a href ="NSMutableSet.html#method-10">-unionSet:</a>
</ul>
<hr><h2>Class Methods </h2>
<h3><a name ="method-0">allocWithZone:</a></h3>
+ (id) <b>allocWithZone:</b> (NSZone*)zone;<br>
<hr>
<h3><a name ="method-1">setWithCapacity:</a></h3>
+ (id) <b>setWithCapacity:</b> (unsigned int)numItems;<br>
<hr>
<hr><h2>Instances Methods </h2>
<h3><a name ="method-2">addObject:</a></h3>
- (void) <b>addObject:</b> (id)anObject;<br>
Adds the specified object to the receiver.
The object is retained by the set.
<hr>
<h3><a name ="method-3">addObjectsFromArray:</a></h3>
- (void) <b>addObjectsFromArray:</b> (NSArray*)anArray;<br>
Adds all the objects in the array to the receiver.
<hr>
<h3><a name ="method-4">initWithCapacity:</a></h3>
- (id) <b>initWithCapacity:</b> (unsigned int)numItems;<br>
Initialises the receiver to be ready to have the specified number
of items added to it. Additions of items to a set initialised
with an appropriate capacity will be more efficient than addition
of items otherwise.
<hr>
<h3><a name ="method-5">intersectSet:</a></h3>
- (void) <b>intersectSet:</b> (NSSet*)otherSet;<br>
Removes from the receiver all the objects it contains
which are not also in otherSet.
<hr>
<h3><a name ="method-6">minusSet:</a></h3>
- (void) <b>minusSet:</b> (NSSet*)otherSet;<br>
Removes from the receiver all the objects that are in
otherSet.
<hr>
<h3><a name ="method-7">removeAllObjects</a></h3>
- (void) <b>removeAllObjects</b>;<br>
Removes all objects from the receiver.
<hr>
<h3><a name ="method-8">removeObject:</a></h3>
- (void) <b>removeObject:</b> (id)anObject;<br>
Removes the specified object from the receiver.
<hr>
<h3><a name ="method-9">setSet:</a></h3>
- (void) <b>setSet:</b> (NSSet*)otherSet;<br>
Standards: GNUstep MacOS-X NotOpenStep<br>
Removes all objects from the receiver then adds the
objects from otherSet. If the receiver <em>is</em>
otherSet, the method has no effect.
<hr>
<h3><a name ="method-10">unionSet:</a></h3>
- (void) <b>unionSet:</b> (NSSet*)otherSet;<br>
Adds all the objects from etherSet to the receiver.
<hr>
</body>
</html>