It does not contain duplicate set of elements. More formally, the set not including a pair of elements e1
, and e2
such e1.equals(e2)
, and a maximum of empty elements.
Set the interface in addition to inherited from the Collection of all constructors interfaces contract and add, equals and hashCode methods outside the contract, but also increase the other provisions