Open kuros opened 9 years ago
There has been something similar I've been thinking about - but haven't had time to implement yet which is getRandomValueWithCriteria, allowing you to specify the valid range for an Integer, or the max length on a string, or number of items in a collection, ...etc.
I haven't spent enough time thinking / POCing a solution to provide that, but if there is enough interest in such a feature, a sample implementation could be provided.
Let me know what you think?
And thank you for your continued interest and support of OpenPojo.
I have a requirement where I want to have two difference instance of RandomFactory to exist. For instance having, different factory to create positive/negative integers respectively.
How Can I achieve this behavior?