I am pretty new to Java, and I am trying to use contains to check if an object is contained in some Vector. I am storing my own object in the Vector.
I though that it could be because I didn't implement the equals method, however I tried that in the class and it didn't help. What should I do to make it work!?
It is not only contains, it is also methods such as removeElement, which also take and Object as parameter.
Hope you can help, thanks in advance.