hunt-extra ~master (2022-03-03T03:00: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.