Class StringGenerator

  • All Implemented Interfaces:
    Generator<Organism<java.lang.String>>

    public class StringGenerator
    extends java.lang.Object
    implements Generator<Organism<java.lang.String>>
    Generates a random string organism
    • Constructor Detail

      • StringGenerator

        public StringGenerator​(int length)
    • Method Detail

      • createRandom

        public Organism<java.lang.String> createRandom()
        Description copied from interface: Generator
        Create a new (First Generation) organism
        Specified by:
        createRandom in interface Generator<Organism<java.lang.String>>
      • generateChar

        public static char generateChar()