efficient and clean way to do hash code with Java 8

efficient and clean way to do hash code with Java 8