Class Double2ObjectArrayMap<V>

All Implemented Interfaces:
Double2ObjectFunction<V>, Double2ObjectMap<V>, Function<Double,​V>, Serializable, Cloneable, DoubleFunction<V>, Function<Double,​V>, Map<Double,​V>

public class Double2ObjectArrayMap<V>
extends AbstractDouble2ObjectMap<V>
implements Serializable, Cloneable
A simple, brute-force implementation of a map based on two parallel backing arrays.

The main purpose of this implementation is that of wrapping cleanly the brute-force approach to the storage of a very small number of pairs: just put them into two parallel arrays and scan linearly to find an item.

See Also:
Serialized Form