I have recently discovered the Objects.hash() method.
My first thought was, that this tidies up your hashCode() implementation a lot. See the following
hashCode()
Joshua Bloch in his book Effective Java, 3rd edition, p. 53 discourages usage of Objects.hash(...) if performance is critical.
Objects.hash(...)
Primitives are being autoboxed and there is a penalty of creating an Object array.
Object