Instance Method

intersectOrderedSet:

Removes from the receiving ordered set each object that isn’t a member of another ordered set.

Declaration

- (void)intersectOrderedSet:(NSOrderedSet<ObjectType> *)other;

Parameters

other

The ordered set with which to perform the intersection.

See Also

Combining and Recombining Entries

- intersectSet:

Removes from the receiving ordered set each object that isn’t a member of another set.

- minusOrderedSet:

Removes each object in another given ordered set from the receiving mutable ordered set, if present.

- minusSet:

Removes each object in another given set from the receiving mutable ordered set, if present.

- unionOrderedSet:

Adds each object in another given ordered set to the receiving mutable ordered set, if not present.

- unionSet:

Adds each object in another given set to the receiving mutable ordered set, if not present.