public final class SamplingIterable<T> extends Object implements Iterable<T>
Iterable whose Iterable.iterator() returns only some subset of the elements that
it would, as determined by a iterator rate parameter.| Constructor and Description |
|---|
SamplingIterable(Iterable<? extends T> delegate,
double samplingRate) |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.