コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <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));
 }