public HMapInternal <K, V> Subtract(HMapInternal <K, V> rhs) { var self = this; foreach (var item in rhs) { self = self.Remove(item.Key); } return(self); }
public HMapInternal <K, V> Append(HMapInternal <K, V> rhs) { var self = this; foreach (var item in rhs) { if (!self.ContainsKey(item.Key)) { self = self.Add(item.Key, item.Value); } } return(self); }
HMap <K, U> Wrap <U>(HMapInternal <K, U> value) => new HMap <K, U>(value);
HMap <K, V> Wrap(HMapInternal <K, V> value) => new HMap <K, V>(value);
internal HMap(HMapInternal <K, V> value) { this.value = value; }