예제 #1
0
 protected override ImmMap <TKey, TValue> Difference(ImmMap <TKey, TValue> other)
 {
     other.CheckNotNull("other");
     return(_root.SymDifference(other._root, Lineage.Mutable()).WrapMap(_equality));
 }
예제 #2
0
 ImmMap <TKey, TValue> Except <TValue2>(ImmMap <TKey, TValue2> other,
                                        ValueSelector <TKey, TValue, TValue2, Optional <TValue> > subtraction = null)
 {
     other.CheckNotNull("other");
     return(_root.Except(other._root, Lineage.Mutable(), subtraction).WrapMap(_equality));
 }