Package | Description |
---|---|
org.apache.mahout.cf.taste.impl.common |
Modifier and Type | Class and Description |
---|---|
class |
Cache<K,V>
An efficient Map-like class which caches values for keys.
|
Constructor and Description |
---|
Cache(Retriever<? super K,? extends V> retriever)
Creates a new cache based on the given
Retriever . |
Cache(Retriever<? super K,? extends V> retriever,
int maxEntries)
Creates a new cache based on the given
Retriever and with given maximum size. |
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.