Constructor and Description |
---|
SamplingIterator(Iterator<? extends T> delegate,
double samplingRate) |
SamplingIterator(RandomWrapper random,
Iterator<? extends T> delegate,
double samplingRate) |
Modifier and Type | Method and Description |
---|---|
protected T |
computeNext() |
endOfData, hasNext, next, peek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public SamplingIterator(RandomWrapper random, Iterator<? extends T> delegate, double samplingRate)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.