HashSet contains() method

30 August, 2008 (12:11) | Uncategorized

Java JavaScript CSS HTML C# Ruby WebService

I just want to make sure I get it right. My first impression was that if you add an object to a HashSet and overide the equals(Object o) method of the object then the HashSet will be looking at the new equals(Object o) method to verify whether a key is…

Write a comment





*
To prove you're a person (not a spam script), type the security word shown in the picture.

Anti-Spam Image