test_class.file: tool/hash/src/test/java/org/openscience/cdk/hash/HashGeneratorMakerTest.java
test_class.identifier: HashGeneratorMakerTest
test_case.body: @Test
      public void testEncode() {
          AtomEncoder e1 = mock(AtomEncoder.class);
          AtomEncoder e2 = mock(AtomEncoder.class);
          AtomHashGenerator generator = new HashGeneratorMaker().depth(0).encode(e1).encode(e2).atomic();
          List<AtomEncoder> encoders = getEncoders((BasicAtomHashGenerator) generator);
          assertThat(encoders.size(), is(2));
          assertThat(encoders.get(0), is(e1));
          assertThat(encoders.get(1), is(e2));
  
          generator = new HashGeneratorMaker().depth(0).encode(e2).encode(e1).atomic();
          encoders = getEncoders((BasicAtomHashGenerator) generator);
          assertThat(encoders.size(), is(2));
          assertThat(encoders.get(0), is(e2));
          assertThat(encoders.get(1), is(e1));
      }
test_case.class_method_signature: HashGeneratorMakerTest.testEncode()
test_case.full_signature: @Test public void testEncode()
test_case.identifier: testEncode
test_case.invocations: mock mock atomic encode encode depth getEncoders assertThat size is assertThat get is assertThat get is atomic encode encode depth getEncoders assertThat size is assertThat get is assertThat get is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEncode()
focal_class.declarator: depth          = -1
focal_class.modifier: private
focal_class.original_string: private int                        depth          = -1;
focal_class.type: int
focal_class.var_name: depth
focal_class.declarator: customEncoders = new ArrayList<AtomEncoder>()
focal_class.modifier: private
focal_class.original_string: private List<AtomEncoder>          customEncoders = new ArrayList<AtomEncoder>();
focal_class.type: List<AtomEncoder>
focal_class.var_name: customEncoders
focal_class.declarator: encoderSet     = EnumSet.noneOf(BasicAtomEncoder.class)
focal_class.modifier: private
focal_class.original_string: private EnumSet<BasicAtomEncoder>  encoderSet     = EnumSet.noneOf(BasicAtomEncoder.class);
focal_class.type: EnumSet<BasicAtomEncoder>
focal_class.var_name: encoderSet
focal_class.declarator: stereoEncoders = new ArrayList<StereoEncoderFactory>()
focal_class.modifier: private
focal_class.original_string: private List<StereoEncoderFactory> stereoEncoders = new ArrayList<StereoEncoderFactory>();
focal_class.type: List<StereoEncoderFactory>
focal_class.var_name: stereoEncoders
focal_class.declarator: equivSetFinder = null
focal_class.modifier: private
focal_class.original_string: private EquivalentSetFinder        equivSetFinder = null;
focal_class.type: EquivalentSetFinder
focal_class.var_name: equivSetFinder
focal_class.declarator: suppression    = AtomSuppression.unsuppressed()
focal_class.modifier: private
focal_class.original_string: private AtomSuppression            suppression    = AtomSuppression.unsuppressed();
focal_class.type: AtomSuppression
focal_class.var_name: suppression
focal_class.file: tool/hash/src/main/java/org/openscience/cdk/hash/HashGeneratorMaker.java
focal_class.identifier: HashGeneratorMaker
focal_class.class_method_signature: HashGeneratorMaker.depth(int depth)
focal_class.full_signature: public HashGeneratorMaker depth(int depth)
focal_class.identifier: depth
focal_class.modifiers: public
focal_class.parameters: (int depth)
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker depth(int depth)
focal_class.class_method_signature: HashGeneratorMaker.elemental()
focal_class.full_signature: public HashGeneratorMaker elemental()
focal_class.identifier: elemental
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker elemental()
focal_class.class_method_signature: HashGeneratorMaker.isotopic()
focal_class.full_signature: public HashGeneratorMaker isotopic()
focal_class.identifier: isotopic
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker isotopic()
focal_class.class_method_signature: HashGeneratorMaker.charged()
focal_class.full_signature: public HashGeneratorMaker charged()
focal_class.identifier: charged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker charged()
focal_class.class_method_signature: HashGeneratorMaker.orbital()
focal_class.full_signature: public HashGeneratorMaker orbital()
focal_class.identifier: orbital
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker orbital()
focal_class.class_method_signature: HashGeneratorMaker.radical()
focal_class.full_signature: public HashGeneratorMaker radical()
focal_class.identifier: radical
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker radical()
focal_class.class_method_signature: HashGeneratorMaker.chiral()
focal_class.full_signature: public HashGeneratorMaker chiral()
focal_class.identifier: chiral
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker chiral()
focal_class.class_method_signature: HashGeneratorMaker.suppressHydrogens()
focal_class.full_signature: public HashGeneratorMaker suppressHydrogens()
focal_class.identifier: suppressHydrogens
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker suppressHydrogens()
focal_class.class_method_signature: HashGeneratorMaker.perturbed()
focal_class.full_signature: public HashGeneratorMaker perturbed()
focal_class.identifier: perturbed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker perturbed()
focal_class.class_method_signature: HashGeneratorMaker.perturbWith(EquivalentSetFinder equivSetFinder)
focal_class.full_signature:  HashGeneratorMaker perturbWith(EquivalentSetFinder equivSetFinder)
focal_class.identifier: perturbWith
focal_class.parameters: (EquivalentSetFinder equivSetFinder)
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker perturbWith(EquivalentSetFinder equivSetFinder)
focal_class.class_method_signature: HashGeneratorMaker.encode(AtomEncoder encoder)
focal_class.full_signature: public HashGeneratorMaker encode(AtomEncoder encoder)
focal_class.identifier: encode
focal_class.modifiers: public
focal_class.parameters: (AtomEncoder encoder)
focal_class.return: HashGeneratorMaker
focal_class.signature: HashGeneratorMaker encode(AtomEncoder encoder)
focal_class.class_method_signature: HashGeneratorMaker.makeStereoEncoderFactory()
focal_class.full_signature: private StereoEncoderFactory makeStereoEncoderFactory()
focal_class.identifier: makeStereoEncoderFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: StereoEncoderFactory
focal_class.signature: StereoEncoderFactory makeStereoEncoderFactory()
focal_class.class_method_signature: HashGeneratorMaker.ensemble()
focal_class.full_signature: public EnsembleHashGenerator ensemble()
focal_class.identifier: ensemble
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EnsembleHashGenerator
focal_class.signature: EnsembleHashGenerator ensemble()
focal_class.class_method_signature: HashGeneratorMaker.molecular()
focal_class.full_signature: public MoleculeHashGenerator molecular()
focal_class.identifier: molecular
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MoleculeHashGenerator
focal_class.signature: MoleculeHashGenerator molecular()
focal_class.class_method_signature: HashGeneratorMaker.atomic()
focal_class.full_signature: public AtomHashGenerator atomic()
focal_class.identifier: atomic
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: AtomHashGenerator
focal_class.signature: AtomHashGenerator atomic()
focal_method.body: public HashGeneratorMaker encode(AtomEncoder encoder) {
          if (encoder == null) throw new NullPointerException("no encoder provided");
          customEncoders.add(encoder);
          return this;
      }
focal_method.class_method_signature: HashGeneratorMaker.encode(AtomEncoder encoder)
focal_method.full_signature: public HashGeneratorMaker encode(AtomEncoder encoder)
focal_method.identifier: encode
focal_method.invocations: add
focal_method.modifiers: public
focal_method.parameters: (AtomEncoder encoder)
focal_method.return: HashGeneratorMaker
focal_method.signature: HashGeneratorMaker encode(AtomEncoder encoder)