-
Couldn't load subscription status.
- Fork 235
Randomization parameters
Mahmoud Ben Hassine edited this page Jun 11, 2016
·
21 revisions
The EnhancedRandomBuilder is the main entry point to set all parameters of how Random Beans generate values:
EnhancedRandom random = EnhancedRandomBuilder.aNewEnhancedRandomBuilder()
.maxCollectionSize(10)
.maxStringLength(20)
.charset(forName("UTF-8"))
.dateRange(today, tomorrow)
.timeRange(nine, five)
.scanClasspathForConcreteTypes(true)
.seed(123L)
.build();Easy Random is created by Mahmoud Ben Hassine with the help of some awesome contributors!