Constructor LRUHashMap
LRUHashMap(Int32)
Create a new hash map with a bounded size and with least recently used entries removed.
Declaration
public LRUHashMap(int limit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | limit | The maximum size (in number of entries) to which the map can grow before the least recently used entries start being removed.
Setting maxSize to a very large value, like |