EqualityMap<K, V> constructor

EqualityMap<K, V>(Equality<K> equality)

Creates a map with equality based on equality.

Implementation

EqualityMap(Equality<K> equality)
    : super(new LinkedHashMap(
          equals: equality.equals,
          hashCode: equality.hash,
          isValidKey: equality.isValidKey));