-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to use Supplier from java8 and guava as Randomizer #28
Comments
Indeed, great idea 👍 Thank you Rémi! Let's plan that for next release 😃 |
I was trying to add support for I was not able to use java source level to 1.8 and target level to 1.6 (because only As of today, the library is compiled with Java 8 but the binary is still Java 6 compatible. |
pull request which adds the feature to use a java8 supplier: #96 |
Hi @Toilal I've added support to use Java 8 suppliers as randomizers. It would be great to give it a try if possible to see if it corresponds to what you have requested. Kind regards |
I think it's good thanks ! I'll effectively try later. |
Hi Rémi, No problem, take your time. This will be released soon in v3.0.0 Note that support for the standard Java 8 API Kind regards |
Create a new PopulatorBuilder method supporting Supplier instead of Randomizer.
Same idea for guava Supplier.
It requires #26 to keep support of java version. (jpopulator-java8 and jpopulator-guava modules)
The text was updated successfully, but these errors were encountered: