|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.common.iterator.DelegatingIterator<T>
org.apache.mahout.common.iterator.StableFixedSizeSamplingIterator<T>
public class StableFixedSizeSamplingIterator<T>
Sample a fixed number of elements from an Iterator. The results will appear in the original order at some cost in time and memory relative to a FixedSizeSampler.
Constructor Summary | |
---|---|
StableFixedSizeSamplingIterator(int size,
java.util.Iterator<T> source)
|
Method Summary |
---|
Methods inherited from class org.apache.mahout.common.iterator.DelegatingIterator |
---|
hasNext, next, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StableFixedSizeSamplingIterator(int size, java.util.Iterator<T> source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |