EqualityMap<K, V> constructor

EqualityMap<K, V>(
  1. 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));