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>

public final class SimpleMap<K,V> extends AbstractMap<K,V>
An instance of a Map where the keys and values are simple arrays.

Typically more efficient than HashMaps for small maps (e.g. <10 entries).

Does not support adding or removing entries.

Setting values overwrites the value on the underlying value array.

See Also: