Skip to content

Instantly share code, notes, and snippets.

@johnmay
Created November 9, 2012 16:50
Show Gist options
  • Save johnmay/4046794 to your computer and use it in GitHub Desktop.
Save johnmay/4046794 to your computer and use it in GitHub Desktop.
Building the HashGenerator<?>
HashGenerator<Integer> generator = new HashGeneratorMaker().withDepth(8)
.charged()
.chiral()
.isotopic()
.radicals()
.withBondOrderSum()
.nullable()
.build();
// integer representation
Integer hashcode = generator.generate(container);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment