| Modifier and Type | Field and Description |
|---|---|
static String |
INITIAL_HASH_MAP_CAPACITY_METHOD |
| Modifier and Type | Method and Description |
|---|---|
static int |
initialHashMapCapacity(int expectedSize)
Copy of capacity method from Guava Maps utility.
|
public static final String INITIAL_HASH_MAP_CAPACITY_METHOD
public static int initialHashMapCapacity(int expectedSize)
Copy of capacity method from Guava Maps utility.
Returns a capacity that is sufficient to keep the map from being resized as long as it grows no larger than expectedSize and the load factor is ≥ its default (0.75).
expectedSize - Copyright © 2018. All Rights Reserved.