EqualityMap<K, V> constructor
- Equality<
K> equality
Creates a map with equality based on equality
.
Implementation
EqualityMap(Equality<K> equality)
: super(LinkedHashMap(
equals: equality.equals,
hashCode: equality.hash,
isValidKey: equality.isValidKey));