RandomSubsetExtension<T> extension

on

Methods

randomSubset(int size, [Random random]) Iterable<T>
Returns an iterable of the specified size consisting of random elements from this iterable. [...]