Wouter Oet wrote:If you compare the javadoc of those interfaces you'll see a differences. The Set interface defines a more specified contract.
Yes I understand that but it is an interface , so does it matter that it tells about no duplicate elements can be added and so on.
It does not implement anything .
So what is the purpose.