public bool TryGetValue(TKey key, out TValue value) { return(m_tree.TryFind(ComparerNode.Create(m_comparer, key), out value)); }
public ImmutableMap <TKey, TValue> Delete(TKey key) { return(new ImmutableMap <TKey, TValue>(m_comparer, m_tree.Delete(ComparerNode.Create(m_comparer, key)))); }
public TValue this[TKey key] { get { return(m_tree.Find(ComparerNode.Create(m_comparer, key)).Value); } }
public ImmutableMap <TKey, TValue> Update(TKey key, TValue value) { return(new ImmutableMap <TKey, TValue>(m_comparer, m_tree.Update(ComparerNode.Create(m_comparer, key), value))); }
public bool ContainsKey(TKey key) { TValue value; return(m_tree.TryFind(ComparerNode.Create(m_comparer, key), out value)); }