Flutter Engine
The Flutter Engine
|
#include <SkLRUCache.h>
Public Member Functions | |
SkLRUCache (int maxCount) | |
SkLRUCache ()=delete | |
~SkLRUCache () | |
SkLRUCache (const SkLRUCache &)=delete | |
SkLRUCache & | operator= (const SkLRUCache &)=delete |
V * | find (const K &key) |
V * | insert (const K &key, V value) |
V * | insert_or_update (const K &key, V value) |
int | count () const |
template<typename Fn > | |
void | foreach (Fn &&fn) |
void | reset () |
A generic LRU cache.
Definition at line 19 of file SkLRUCache.h.
|
inlineexplicit |
Definition at line 33 of file SkLRUCache.h.
|
delete |
|
inline |
Definition at line 36 of file SkLRUCache.h.
|
delete |
|
inline |
Definition at line 83 of file SkLRUCache.h.
|
inline |
Definition at line 49 of file SkLRUCache.h.
|
inline |
Definition at line 88 of file SkLRUCache.h.
Definition at line 62 of file SkLRUCache.h.
Definition at line 74 of file SkLRUCache.h.
|
delete |
|
inline |
Definition at line 96 of file SkLRUCache.h.