AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MemoryKeyTable()
Calls super HashMap constructor.
|
MemoryKeyTable(int initialCapacity)
Calls super HashMap constructor.
|
MemoryKeyTable(int initialCapacity,
float loadFactor)
Calls super HashMap constructor.
|
MemoryKeyTable(Map<? extends String,? extends Key> m)
Calls super HashMap constructor.
|
Modifier and Type | Method and Description |
---|---|
Key |
getKey(String keyId) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public MemoryKeyTable()
public MemoryKeyTable(int initialCapacity, float loadFactor)
initialCapacity
- the initial capacityloadFactor
- the load factorIllegalArgumentException
- if the initial capacity is negative or the load factor is nonpositivepublic MemoryKeyTable(int initialCapacity)
initialCapacity
- the initial capacity.IllegalArgumentException
- if the initial capacity is negative.public MemoryKeyTable(Map<? extends String,? extends Key> m)
m
- the map whose mappings are to be placed in this mapNullPointerException
- if the specified map is nullCopyright © 2017. All rights reserved.