I am investigating Java Value Objects for educational purposes.
What I don't understand is why no one mentions (in same breath) having Java Value Objects implement Comparable?
If Java Value Objects have to have "correct" HashCode & Equals for equality reasons why don't they also have to have Comparable CompareTo method?
Here's my thought process. Instances of Value Objects will be tested for being equal therefore they require correct equals/hashcode. Value Objects could be stored in "hash" collections, again Hashcode method need. So why not add in Comparable so they can be keys in Ordered collections?