Class ArrayMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
tools.ArrayMap<K,V>
- Type Parameters:
K- The type of the keys.V- The type of the values.
- All Implemented Interfaces:
Serializable, Map<K,V>
Provides a strongly-typed map of keys to values.
- Since:
- Revision 589
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides a strongly typed mapping of a key to a value.Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ArrayMap
public ArrayMap()Class constructor -
ArrayMap
-
ArrayMap
public ArrayMap(int initialCapacity) Class constructor.- Parameters:
initialCapacity- The initial size of the ArrayMap.
-
-
Method Details