public SetCollection intersection(object set) { SetStorage items; if (SetStorage.GetItems(set, out items)) { items = SetStorage.Intersection(_items, items); } else { items.IntersectionUpdate(_items); } return(Make(items)); }
public SetCollection intersection(FrozenSetCollection set) { return(Make(SetStorage.Intersection(_items, set._items))); }
public SetCollection intersection([NotNull] SetCollection set) { return(Make(SetStorage.Intersection(_items, set._items))); }