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;
    }
Ejemplo n.º 2
0
        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;
        }