hunt-extra v1.1.7 (2021-11-17T07:07:29Z)
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.