public SortedArray2() { this.lazyCopy = null; this.comparer4Key = null; this.minCapacityForShrink = 0x20; this.keyArray = new TKey[0x20]; this.valArray = new TVal[0x20]; this.validCount = 0; this.smartRWLocker = new SmartRWLocker(); }
public SortedArray2(IComparer <TKey> _comparer4Key, IDictionary <TKey, TVal> dictionary) { this.lazyCopy = null; this.comparer4Key = null; this.minCapacityForShrink = 0x20; this.keyArray = new TKey[0x20]; this.valArray = new TVal[0x20]; this.validCount = 0; this.smartRWLocker = new SmartRWLocker(); this.comparer4Key = _comparer4Key; this.Rebuild(dictionary); }