KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I take n random elements from an ArrayList<E> ? Ideally, I'd like to be able to make successive calls to the take() method to get another x elements, without replacement.
Tags (comma-separated)
Save Edits
Cancel