public static < E > Collection < E > sampleWithoutReplacement ( Collection < E > c , int n ) { return sampleWithoutReplacement ( c , n , new Random ( ) ) ; }
Samples without replacement from a collection .