|
||||||||||
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.FixedSizeSamplingIterator<T>
public final class FixedSizeSamplingIterator<T>
Sample a fixed number of elements from an Iterator. The results can appear in any order.
Constructor Summary | |
---|---|
FixedSizeSamplingIterator(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 FixedSizeSamplingIterator(int size, java.util.Iterator<T> source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |