sample method
Samples a collection of items
entries
: The list of items to sample
Returns a new collection sampled from the original
Implementation
@override
Iterable<String> sample(Iterable<String> entries) {
return sampleEntries(entries, (entries.length * _factor).truncate());
}