Closed derjust closed 9 years ago
To allow simplify life for callers of the library, hashCode() and equals() should be implemented.
hashCode()
equals()
I agree. Since the data is immutable, they are suitable to be used in sets and as keys in maps.
To allow simplify life for callers of the library,
hashCode()
andequals()
should be implemented.