+ (OBSet *) set

Creates and returns an empty set.

+ (OBSet *) setWithArray:(OBArray  *)array

Creates and returns a set with the objects from an array.

+ (OBSet *) setWithObject:(id)object

Creates and returns a set containing a single object.

+ (OBSet *) setWithObjects:(id)first, ... 

Creates and returns a set with a nil-terminated list of objects.

+ (OBSet *) setWithObjects:(id *)objects count:(ULONG)count

Creates and returns a set with a C array of objects.

+ (OBSet *) setWithSet:(OBSet  *)set

Creates and returns a set by copying another set.

- (OBArray  *) allObjects

Returns an array containing all objects in the set.

- (id) anyObject

Returns an arbitrary object from the set.

- (BOOL) containsObject:(id)object

Returns whether the set contains the given object.

- (ULONG) count

Returns the number of objects in the set.

- (OBSet *) initWithArray:(OBArray  *)array

Initializes a set with the objects from an array.

- (OBSet *) initWithObjects:(id)first, ... 

Initializes a set with a nil-terminated list of objects.

- (OBSet *) initWithObjects:(id *)objects count:(ULONG)count

Initializes a set with a C array of objects.

- (OBSet *) initWithSet:(OBSet  *)set

Initializes a set by copying another set.

- (OBSet *) initWithSet:(OBSet  *)set copyItems:(BOOL)copyItems

Initializes a set from another set, optionally copying items.

- (BOOL) intersectsSet:(OBSet  *)set

Returns whether the receiver intersects another set.

- (BOOL) isEqualToSet:(OBSet *)set

Compares the receiver to another set for equality.

- (BOOL) isSubsetOfSet:(OBSet  *)set

Returns whether the receiver is a subset of another set.

- (void) makeObjectsPerformSelector:(SEL)selector

Sends a selector to each object in the set.

- (void) makeObjectsPerformSelector:(SEL)selector withObject:argument

Sends a selector with an argument to each object in the set.

- (id) member:(id)object

Returns the matching member object if present.

- (OBEnumerator  *) objectEnumerator

Returns an enumerator over the set’s objects.

- (OBSet  *) setByAddingObject:(id)object

Returns a new set by adding an object.

- (OBSet  *) setByAddingObjectsFromArray:(OBArray  *)array

Returns a new set by adding objects from an array.

- (OBSet  *) setByAddingObjectsFromSet:(OBSet  *)other

Returns a new set by adding objects from another set.