Class Char2ReferenceArrayMap<V>

All Implemented Interfaces:
Char2ReferenceFunction<V>, Char2ReferenceMap<V>, Function<Character,​V>, Serializable, Cloneable, Function<Character,​V>, IntFunction<V>, Map<Character,​V>

public class Char2ReferenceArrayMap<V>
extends AbstractChar2ReferenceMap<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