A
Aaron Davies
I'm having a very weird problem. Under J2SE5.0b2,
LinkedHashSet.remove(Object) doesn't seem to be working right. I have
an object which I know is present in the
set--set.toArray()[0].equals(o) returns true--but set.remove(o)
returns false. If I change the collection to use a List, it all works
fine. This is bizzare. Any ideas?
LinkedHashSet.remove(Object) doesn't seem to be working right. I have
an object which I know is present in the
set--set.toArray()[0].equals(o) returns true--but set.remove(o)
returns false. If I change the collection to use a List, it all works
fine. This is bizzare. Any ideas?