示例#1
0
文件: ImmSet.cs 项目: stjordanis/Imms
 protected override ImmSet <T> Intersect(ImmSet <T> other)
 {
     return(Root.Intersect(other.Root, Lineage.Mutable(), null).Wrap(EqualityComparer));
 }
示例#2
0
 protected override ImmMap <TKey, TValue> Join(ImmMap <TKey, TValue> other,
                                               ValueSelector <TKey, TValue, TValue, TValue> collision = null)
 {
     return(_root.Intersect(other._root, Lineage.Mutable(), collision).WrapMap(_equality));
 }