コード例 #1
0
ファイル: Set.cs プロジェクト: zzkongfu/ironpython3
        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));
        }
コード例 #2
0
ファイル: Set.cs プロジェクト: zzkongfu/ironpython3
 public SetCollection intersection(FrozenSetCollection set)
 {
     return(Make(SetStorage.Intersection(_items, set._items)));
 }
コード例 #3
0
 public SetCollection intersection([NotNull] SetCollection set)
 {
     return(Make(SetStorage.Intersection(_items, set._items)));
 }