Get an element from the cache if it is available.
This will not move the item to the front of the list.
Parameters: pos - the unique key of the element the element or null
Get an element in the cache if it is available.
This will move the item to the front of the list.
Parameters: pos - the unique key of the element the element or null
Add an element to the cache. Other items may fall out of the cache
because of this. It is not allowed to add the same record twice.
Parameters: r - the object
Update an element in the cache.
This will move the item to the front of the list.
Parameters: pos - the unique key of the element Parameters: record - the element the element