public override void SetCapacity( int capacity ) { BoolDataStoreValue[] newValues = new BoolDataStoreValue[ capacity ]; if( m_values != null ) Array.Copy( m_values, 0, newValues, 0, System.Math.Min( capacity, m_values.Length ) ); m_values = newValues; }
public override void SetCapacity(int capacity) { BoolDataStoreValue[] newValues = new BoolDataStoreValue[capacity]; if (m_values != null) { Array.Copy(m_values, 0, newValues, 0, System.Math.Min(capacity, m_values.Length)); } m_values = newValues; }