I know why the last
test fail (HashSet fail to see that it contains the object modified because it regroup first by hashcode during the initial add) but I dont know which principle(s) I am violating in this code.
I have few ideas but nothing sure.
Does the Collection classes are intended to be use only with immutable objects?
Sorry if this topic have already been address. It s hard to find a relevent topic with those keywords.
[ September 23, 2006: Message edited by: Eric Janssens ]