Class StateRandomizer

  • All Implemented Interfaces:
    org.jeasy.random.api.Randomizer<java.lang.String>

    public class StateRandomizer
    extends FakerBasedRandomizer<java.lang.String>
    A Randomizer that generates random states.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Constructor Detail

      • StateRandomizer

        public StateRandomizer​(long seed)
        Create a new StateRandomizer.
        Parameters:
        seed - the initial seed
      • StateRandomizer

        public StateRandomizer​(long seed,
                               java.util.Locale locale)
        Create a new StateRandomizer.
        Parameters:
        seed - the initial seed
        locale - the locale to use
    • Method Detail

      • getRandomValue

        public java.lang.String getRandomValue()