hunt-extra v1.1.8 (2021-12-13T08:45:08Z)
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.