contains for TreeSet
martinrb at google.com
Wed Jun 18 02:10:39 UTC 2014
It's explained in the TreeSet javadoc.
On Tue, Jun 17, 2014 at 6:39 PM, David Holmes <david.holmes at oracle.com>
> Moving your question to core-libs-dev, please drop build-dev from all
> future responses.
> On 18/06/2014 10:56 AM, Su wrote:
>> May I ask why "contains" method of TreeSet uses the comparator to decide
>> two objects are equals, but not the equals method of the object?
>> Thank you.
More information about the core-libs-dev