Beispiel #1
0
        public new static Segmentrange <TStored, TSearch> Create(int segmentCount, int initialSegmentSize)
        {
            var instance = new WeakSegmentrange <TStored, TSearch>();

            instance.Initialize(segmentCount, initialSegmentSize);
            return(instance);
        }
 /// <summary>
 /// CreateSegmentRange override that returns a WeakSegmentrange
 /// </summary>
 /// <param name="segmentCount"></param>
 /// <param name="initialSegmentSize"></param>
 /// <returns></returns>
 internal override Segmentrange <TStored, TSearch> CreateSegmentRange(int segmentCount, int initialSegmentSize)
 {
     return(WeakSegmentrange <TStored, TSearch> .Create(segmentCount, initialSegmentSize));
 }