Class Double2FloatArrayMap

All Implemented Interfaces:
Double2FloatFunction, Double2FloatMap, Function<Double,​Float>, Serializable, Cloneable, DoubleUnaryOperator, Function<Double,​Float>, Map<Double,​Float>

public class Double2FloatArrayMap
extends AbstractDouble2FloatMap
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