Instance Method

intersect(_:)

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

Declaration

func intersect(_ other: NSOrderedSet)

Parameters

other

The ordered set with which to perform the intersection.

See Also

Combining and Recombining Entries

func intersectSet(Set<AnyHashable>)

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

func minus(NSOrderedSet)

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

func minusSet(Set<AnyHashable>)

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

func union(NSOrderedSet)

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

func unionSet(Set<AnyHashable>)

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