/// <summary> /// Constructor. Initializes the map with an initial capacity and the given equality comparer <paramref name="cmp"/> /// </summary> /// <param name="initialCapacity">A lower bound to the initial capacity of this map</param> /// <param name="cmp">The euqlity comparer used to compare keys and to retrieve their hashcodes</param> public VectorFlatHashMap(uint initialCapacity, IEqualityComparer <K> cmp) : base(initialCapacity, KVPair <K, V> .GetComparer(cmp)) { }
/// <summary> /// Constructor. Does not allocate any memory. /// </summary> /// <param name="cmp"></param> public VectorFlatHashMap(IEqualityComparer <K> cmp) : base(KVPair <K, V> .GetComparer(cmp)) { }