jps,
I have already read your post "The Problem with Spoonfeeding" earlier.
After that I am trying my best to avoid spoonfeeding.
If you see my recent posts I am hardly providing any code...
Type: Posts; User: syedbhai
jps,
I have already read your post "The Problem with Spoonfeeding" earlier.
After that I am trying my best to avoid spoonfeeding.
If you see my recent posts I am hardly providing any code...
Hello.
Just try this. It shall work.
*code removed*
Let me know if it is resolved. I don't think you need to override hashcode().
Syed.
Hello.
Even though in your fist posted code some objects have same values but their hashcodes are different.
So for Set, these are distinct objects. If a same object is added several times...