HashSet.remove not working

Viewed 6942

I'm trying to remove an element from HashSet, but it won't.

When calling .contains(obj), it returns true, so .contains knows the object is in HashSet. But when I call .remove(obj), the object isn't removed from the HashSet and it returns false.

hashset object remove problem

Code of object - https://gist.github.com/rincew1nd/f97f11d21ba41d2f4197f9a9da02fea1

1 Answers
Related