EqualitySet< E> constructor
Creates a set with equality based on equality
.
Implementation
EqualitySet(Equality<E> equality)
: super(new LinkedHashSet(
equals: equality.equals,
hashCode: equality.hash,
isValidKey: equality.isValidKey));