Cache K, V  Constructor (IRetriever K, V , Int32)NReco.Recommender Class Library
Creates a new cache based on the given {@link Retriever} and with given maximum size.

Namespace: NReco.CF.Taste.Impl.Common
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Cache(
	IRetriever<K, V> retriever,
	int maxEntries
)

Parameters

retriever
Type: NReco.CF.Taste.Impl.Common IRetriever K, V 
object which can retrieve values for keys
maxEntries
Type: System Int32
maximum number of entries the cache will store before evicting some
See Also