ObjFW
Public Member Functions
OFMutableSet Class Reference

An abstract class for a mutable unordered set of unique objects. More...

#import <OFMutableSet.h>

Inheritance diagram for OFMutableSet:
OFSet OFObject <OFCollection> <OFCopying> <OFMutableCopying> <OFSerialization> <OFObject> <OFEnumerating> <OFFastEnumeration> OFCountedSet

List of all members.

Public Member Functions

(void) - addObject:
 Adds the specified object to the set.
(void) - removeObject:
 Removes the specified object from the set.
(void) - minusSet:
 Removes all objects from the receiver that are in the specified set.
(void) - intersectSet:
 Removes all objects from the receiver that are not in the specified set.
(void) - unionSet:
 Creates a union of the receiver and the specified set.
(void) - makeImmutable
 Converts the mutable set to an immutable set.

Detailed Description

An abstract class for a mutable unordered set of unique objects.


Member Function Documentation

- (void) addObject: (id)  object

Adds the specified object to the set.

Parameters:
objectThe object to add to the set
- (void) intersectSet: (OFSet*)  set

Removes all objects from the receiver that are not in the specified set.

Parameters:
setThe set to intersect
- (void) minusSet: (OFSet*)  set

Removes all objects from the receiver that are in the specified set.

Parameters:
setThe set whose objects will be removed from the receiver
- (void) removeObject: (id)  object

Removes the specified object from the set.

Parameters:
objectThe object to remove from the set
- (void) unionSet: (OFSet*)  set

Creates a union of the receiver and the specified set.

Parameters:
setThe set to create the union with

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties