List of usage examples for org.apache.mahout.cf.taste.impl.common AbstractLongPrimitiveIterator subclass-usage
From source file net.myrrix.common.collection.SamplingLongPrimitiveIterator.java
/**
* Wraps a {@link LongPrimitiveIterator} and returns only some subset of the elements that it would,
* as determined by a sampling rate parameter.
*
* Adapted from the same class in Mahout 0.8.
*