Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Containers/LruCache.h |
Include |
#include "Containers/LruCache.h" |
void Add
(
const KeyType & Key,
const ValueType & Value
)
Add an entry to the cache.
If an entry with the specified key already exists in the cache, the value of the existing entry will be updated. The added or updated entry will be marked as the most recently used one.
Parameter |
Description |
---|---|
Key |
The entry's lookup key. |
Value |
The entry's value. |