/// <summary> /// Removes all items from the Table. /// </summary> public void Clear() { m_Values.Clear(); m_StringMap.Clear(); m_ArrayMap.Clear(); m_ValueMap.Clear(); }
/// <summary> /// Removes all items from the Table. /// </summary> public void Clear() { m_Values.Clear(); m_StringMap.Clear(); m_ArrayMap.Clear(); m_ValueMap.Clear(); m_CachedLength = -1; }
/// <summary> /// Removes all items from the Table. /// </summary> public void Clear() { if (!_isAlive) { throw new InvalidOperationException(string.Format("Attempting to Clear on dead Table")); } if (m_ValuesList != null) { ValuesList.Clear(); } if (m_StringMap != null) { m_StringMap.Clear(); } if (m_ArrayMap != null) { m_ArrayMap.Clear(); } if (m_ValueMap != null) { m_ValueMap.Clear(); } m_CachedLength = -1; }