IME there are three random features you might want on a collection: pick a single element, pick n elements and shuffle the collection. While it can&#x27;t be #2 (as that requires an elements count) the random() method could be either #1 or #3 and the naming provides no indication of which.<p>Plus #1 and #3 (not in-place) can be expressed through #2 and likewise #1 and #2 can be expressed through #3 (not in place, especially if it&#x27;s an iterator).<p>So the naming is unhelpful and the only operation implemented is the least useful random collection operation. That&#x27;s not very good.<p>Finally you don&#x27;t need to pull a whole library for that, it&#x27;s a 3 lines extension.