Skip to main content

CacheElement

CacheElement

Doubly linked list implementation for key-value pairs

Kind: global class

cacheElement.key : Key

Kind: instance property of CacheElement

cacheElement.value : Value

Kind: instance property of CacheElement

cacheElement.weight : number

Kind: instance property of CacheElement

cacheElement.next : CacheElement.<Key, Value> | null

Link to next element (implements linked list)

Kind: instance property of CacheElement

cacheElement.previous : CacheElement.<Key, Value> | null

Link to previous element (implements linked list)

Kind: instance property of CacheElement