Class Short2BooleanArrayMap

All Implemented Interfaces:
Function<Short,​Boolean>, Short2BooleanFunction, Short2BooleanMap, Serializable, Cloneable, Function<Short,​Boolean>, IntPredicate, Map<Short,​Boolean>

public class Short2BooleanArrayMap
extends AbstractShort2BooleanMap
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