mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fles out a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10012 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5ceb6d8ea7
commit
601ca7eb92
1 changed files with 18 additions and 0 deletions
|
@ -54,46 +54,64 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in a new issue