Пример #1
0
        internal static DictionaryImpl <long, TValue, TComparer> CreateLong <TValue, TComparer>(
            ConcurrentDictionary <long, TValue, TComparer> topDict, int capacity)
            where TComparer : struct, IEqualityComparer <long>
        {
            var result = new DictionaryImplLong <TValue, TComparer>(capacity, topDict);

            return(result);
        }
Пример #2
0
 private DictionaryImplLong(int capacity, DictionaryImplLong <TValue, TComparer> other)
     : base(capacity, other)
 {
 }