Package herddb.utils

Class RandomString


  • public class RandomString
    extends Object
    Simple facilit to generate random strings for tests
    Author:
    diego.salvi
    • Constructor Detail

      • RandomString

        public RandomString​(char[] alphabet)
        Build a new RandomString with a specific alphabet.
      • RandomString

        public RandomString​(Random random)
        Build a new RandomString with a specific random generator, useful when repeatable random sequences are needed.
      • RandomString

        public RandomString​(Random random,
                            char[] alphabet)
        Build a new RandomString with a specific random generator, useful when repeatable random sequences are needed.