Java equals/hashCode benchmark code