public class StateRandomizer extends FakerBasedRandomizer<java.lang.String>
Randomizer that generates random states.fakerrandom| Constructor and Description |
|---|
StateRandomizer()
Create a new
StateRandomizer. |
StateRandomizer(long seed)
Create a new
StateRandomizer. |
StateRandomizer(long seed,
java.util.Locale locale)
Create a new
StateRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static StateRandomizer |
aNewStateRandomizer()
Create a new
StateRandomizer. |
static StateRandomizer |
aNewStateRandomizer(long seed)
Create a new
StateRandomizer. |
static StateRandomizer |
aNewStateRandomizer(long seed,
java.util.Locale locale)
Create a new
StateRandomizer. |
java.lang.String |
getRandomValue() |
getPredefinedValuesOf, nextDouble, toStringpublic StateRandomizer()
StateRandomizer.public StateRandomizer(long seed)
StateRandomizer.seed - the initial seedpublic StateRandomizer(long seed,
java.util.Locale locale)
StateRandomizer.seed - the initial seedlocale - the locale to usepublic static StateRandomizer aNewStateRandomizer()
StateRandomizer.StateRandomizerpublic static StateRandomizer aNewStateRandomizer(long seed)
StateRandomizer.seed - the initial seedStateRandomizerpublic static StateRandomizer aNewStateRandomizer(long seed, java.util.Locale locale)
StateRandomizer.seed - the initial seedlocale - the locale to useStateRandomizerpublic java.lang.String getRandomValue()
Copyright © 2019. All Rights Reserved.