We can have several different statements that describes the same information: Statement("100:-") Statement("One hundred SEK") Statement("hundra spänn")
It would make sense to set these statements to be equal to each other. However, when we serialize these we don't know in which order they'll appear (if they are stored in an array that is sorted). While it doesn't matter in the application, we would get bigger diffs in the CVS where we store the serialization.
/ Martin Nilsson (har bott i google)
Previous text:
2003-04-23 16:48: Subject: Re: sort
how can two objects be different when they are equal? isn't == then comparing object references? and doesn't the equality of references mean that they are the same object?
greetings, martin.
/ Brevbäraren