Class GeneratorFactory

java.lang.Object
org.apache.sedona.common.spider.GeneratorFactory

public class GeneratorFactory extends Object
A factory class for creating instances of Generator
  • Method Details

    • create

      public static Generator create(String name, Random random, Map<String,String> parameters)
      Creates an instance of Generator with the given name, random number generator, and configuration.
      Parameters:
      name - the name of the generator
      random - the random number generator
      parameters - the configuration
      Returns:
      an instance of Generator