/// <summary> /// Removes all elements with the specified iterator the container. /// </summary> /// <param name="it">Iterator pointing at value to remove.</param> public void Remove(NativeMultiHashMapIterator <TKey> it) { UnsafeHashMapBase <TKey, TValue> .Remove(m_Buffer, it); }
/// <summary> /// Removes all elements with the specified key from the container. /// </summary> /// <param name="key">The key of the element to remove.</param> /// <returns>Returns number of removed items.</returns> public int Remove(TKey key) { return(UnsafeHashMapBase <TKey, TValue> .Remove(m_Buffer, key, true)); }