Thanks alot..
did a dumb thing by using Dummy
public boolean equals(Dummy o)
Object.equals() was getting picked and not this.
Type: Posts; User: harsha_c
Thanks alot..
did a dumb thing by using Dummy
public boolean equals(Dummy o)
Object.equals() was getting picked and not this.
Hi,
I am trying to remove an object from a array list by passing in the object to be removed.
I have a equals method as well. But somehow its not woking. The equals method is not getting picked....