Exemple #1
0
        public static SortedListCharKey <TValue> Create(int capacity)
        {
            var o = new SortedListCharKey <TValue>()
            {
                _Array = new Tuple[capacity],
                _Size  = 0,
            };

            return(o);
        }
Exemple #2
0
        /// <summary>Initializes a new instance of the <see cref="T:System.Collections.Generic.SortedListCharKey`2" /> class that is empty, has the default initial capacity, and uses the default <see cref="T:System.Collections.Generic.IComparer`1" />.</summary>
        public static SortedListCharKey <TValue> Create()
        {
            var o = new SortedListCharKey <TValue>()
            {
                _Array = EMPTY_ARRAY,
                _Size  = 0,
            };

            return(o);
        }