hunt v1.4.18 (2021-11-01T06:18:24Z)
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.