Package org.apache.mahout.cf.taste.impl.common

Interface Summary
Cache.MatchPredicate<T> Used by {#link #removeKeysMatching(Object)} to decide things that are matching.
LongPrimitiveIterator Adds notion of iterating over long primitives in the style of an Iterator -- as opposed to iterating over Long.
Retriever<K,V> Implementations can retrieve a value for a given key.
RunningAverage Interface for classes that can keep track of a running average of a series of numbers.
RunningAverageAndStdDev Extends RunningAverage by adding standard deviation too.
SkippingIterator<V> Adds ability to skip ahead in an iterator, perhaps more efficiently than by calling Iterator.next() repeatedly.
 

Class Summary
AbstractLongPrimitiveIterator  
Cache<K,V> An efficient Map-like class which caches values for keys.
FastByIDMap<V>  
FastIDSet  
FastMap<K,V> This is an optimized Map implementation, based on algorithms described in Knuth's "Art of Computer Programming", Vol.
FixedRunningAverage A simple class that represents a fixed value of an average and count.
FixedRunningAverageAndStdDev A simple class that represents a fixed value of an average, count and standard deviation.
FullRunningAverage A simple class that can keep track of a running average of a series of numbers.
FullRunningAverageAndStdDev Extends FullRunningAverage to add a running standard deviation computation.
InvertedRunningAverage  
InvertedRunningAverageAndStdDev  
LongPrimitiveArrayIterator While long[] is an Iterable, it is not an Iterable<Long>.
RefreshHelper A helper class for implementing Refreshable.
SamplingLongPrimitiveIterator Wraps a LongPrimitiveIterator and returns only some subset of the elements that it would, as determined by a sampling rate parameter.
WeightedRunningAverage  
WeightedRunningAverageAndStdDev This subclass also provides for a weighted estimate of the sample standard deviation.
 



Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.