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
Add Ints.shuffle()
#3555
Comments
I don't see a lot of evidence of people needing to shuffle arrays of ints in Google's codebase. Do you see a lot of use of |
I find myself visiting this SO question to copy the code from time to time. This definitely happened more than three times. Avoiding |
See |
Can I implement this feature? |
@leventov |
Hi @Stupremee and @sagada. Thanks for your interest in contributing! Please take a look at How to Contribute. We haven't gotten to the point of deciding that this feature is worth adding to Guava, so we're definitely not ready to implement it. And often it's more work for us to accept a PR than it is for us to implement it ourselves. I'm afraid this is likely one of those cases. |
There are very similar arguments applying to this question as to #502 (Add
Ints.reverse()
), the difference is that shuffle algorithm is a bit less trivial thanreverse()
.The text was updated successfully, but these errors were encountered: