public class MapToolkit extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MapToolkit.IntEntry<K>
A map entry used to store integer values.
|
| Constructor and Description |
|---|
MapToolkit() |
| Modifier and Type | Method and Description |
|---|---|
static <K> EntryHashMap<K,MapToolkit.IntEntry<K>> |
createIntMap(int initialCapacity,
float loadFactor)
Create a map for storing integers based on a given key type.
|
public static <K> EntryHashMap<K,MapToolkit.IntEntry<K>> createIntMap(int initialCapacity, float loadFactor)
K - the key typeinitialCapacity - initial storage capacityloadFactor - load factor at which to increase the internal storage capacityCopyright © 2019. All rights reserved.