Ejemplo n.º 1
0
        public int FictionaryVirtualValue()
        {
            IEqualityComparer <Key> comparer = new ArraySegmentEqualityComparer <int>();

            using Fictionary <Key, int, IEqualityComparer <Key> > fictionaryVirtual = new(Count, comparer);
            return(PopulateDictionary(fictionaryVirtual));
        }
Ejemplo n.º 2
0
        public int DictionaryVirtualValue()
        {
            IEqualityComparer <Key> comparer   = new ArraySegmentEqualityComparer <int>();
            Dictionary <Key, int>   dictionary = new(Count, comparer);

            return(PopulateDictionary(dictionary));
        }
Ejemplo n.º 3
0
 public bool Equals(ArraySegmentEqualityComparer <T> other) => true;