On Sun, 19 Apr 2020 at 21:44, John Burgess <john.burg...@riskdecisions.com> wrote:
> Xor the hashcode of the inherited fields (from super. Hashcode() ) and the > hsshcode of the new fields. > This solution might be a fair enough, and I might be seen as being pedantic, but I checked the output by using Objects.hash versus xoring the results from hashCode, and the results are different. Unfortunately, I think the algorithm Java uses to create a hash value is more involved than this, and I'm glad that I don't have to know how a hash is actually created. :) -- I'll cut your code at an intensity and from a place of my own choosing. Clique Space(TM). Anima ex machina.