Class Randomizer

java.lang.Object
org.opengis.cite.iso19142.util.Randomizer

public class Randomizer extends Object
Provides utility methods to randomly generate test inputs.
  • Constructor Details

    • Randomizer

      public Randomizer()
  • Method Details

    • generateWords

      public static String generateWords(int numWords)
      Generates a sequence of of (space-separated) words, each of which contains a random sequence of letter characters in the range [A-Za-z].
      Parameters:
      numWords - The number of words in the sequence (1..10).
      Returns:
      A String consisting of one or more words.