@Immutable public class HashMaps extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OVERHEAD_SIZE
The number of entries which should be additionally accomodatable by a
hash map with a load factor of 75% before resizing it, which is 47.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
initialCapacity(int size)
Returns the initial capacity for a hash table with a load factor of 75%.
|
public static final int OVERHEAD_SIZE
initialCapacity(int),
Constant Field Valuespublic static int initialCapacity(int size)
size - the number of entries to accommodate space for.OVERHEAD_SIZECopyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.