hunt-extra v1.2.0 (2021-10-28T02:27:09Z)
Home
Dub
Repo
tableSizeFor
hunt
collection
HashMap
Returns a power of two size for the given target capacity.
package
int
tableSizeFor
(
int
cap
)
Meta
Source
See Implementation
hunt
collection
HashMap
classes
HashMap
HashMapNode
LinkedHashMapEntry
TreeNode
functions
hash
tableSizeFor
Returns a power of two size for the given target capacity.