/// <summary>
        /// Конструктор BunchElementStorage
        /// </summary>
        /// <param name="arr">Массив данных</param>
        public BunchElementStorage(SparceArrayStorage <PoolElementWrapper <T> > arr)
        {
            Contract.Requires(arr != null);

            _bunches = new IndexedStackElementStorage <T> [Math.Min(8, Environment.ProcessorCount)];
            for (int i = 0; i < _bunches.Length; i++)
            {
                _bunches[i] = new IndexedStackElementStorage <T>(arr);
            }
        }
Exemple #2
0
 public IndexedStackElementStorageDebugView(IndexedStackElementStorage <T> original)
 {
     _original = original;
 }