Class Object2CharArrayMap<K>

All Implemented Interfaces:
Function<K,​Character>, Object2CharFunction<K>, Object2CharMap<K>, Serializable, Cloneable, Function<K,​Character>, ToIntFunction<K>, Map<K,​Character>

public class Object2CharArrayMap<K>
extends AbstractObject2CharMap<K>
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