Class: CacheEntry

CacheEntry(key, value)

A cache entry (key-value pair).

Constructor

new CacheEntry(key, value)

Public constructor.

Parameters:
Name Type Description
key *

key corresponding to this entry.

value *

value associated with the key.

Source:

Methods

getKey() → {*}

Returns the key corresponding to this entry.

Source:
Returns:
  • the key corresponding to this entry.
Type
*

getValue() → {*}

Returns the value corresponding to this entry.

Source:
Returns:
  • the value corresponding to this entry.
Type
*