@caffedpkg/microcore / MapCache
Name: MapCache Classdesc: Default cache implementation
Implements: {Cache<K, V>}
• K = MapHashKey
• V = any
Cache
<K
,V
>
new MapCache<
K
,V
>(params
):MapCache
<K
,V
>
MapCacheParams
= {}
MapCache
<K
, V
>
get length():
number
number
get name():
string
string
clear():
void
void
getValue(
key
):V
K
V
hasValue(
key
):boolean
K
boolean
removeValue(
key
):boolean
K
boolean
setValue(
key
,value
):void
K
V
void