Package org.apache.juneau.internal
Class SimpleMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.apache.juneau.internal.SimpleMap<K,V>
- Type Parameters:
K
- The key type.V
- The value type.
- All Implemented Interfaces:
Map<K,
V>
An instance of a Map where the keys and values are simple arrays.
Typically more efficient than
Does not support adding or removing entries.
Setting values overwrites the value on the underlying value array.
See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
SimpleMap
Constructor.- Parameters:
keys
- The map keys. Must not benull .values
- The map values. Must not benull .
-
-
Method Details
-
entrySet
-
get
-
keySet
-
put
-