HashMap.buckets

Return the number of buckets

Time complexity: O(1)

  1. size_t buckets()
    class HashMap(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
    final
    buckets
    ()
  2. HashMap buckets(size_t cap)
  3. HashMap buckets(size_t cap, float threshold)

Meta