Using guava to generate hashcodes