code: public void registerGenerator(String name, ShamGenerator generator) {
          generator.setRandom(random);
          generators.put(name, generator);
      }
docs: Register a data generator. The passed in generator will have its random number generator
  set to the same RNG as the <code>Sham</code> instance.
  
  @param name the name to give to the generator, so that it may be recalled when calling
  <code>getGenerator</code> or <code>getGenerators</code>.
  @param generator the generator to register