Skip to content

Latest commit

 

History

History
57 lines (27 loc) · 634 Bytes

LRUCache.md

File metadata and controls

57 lines (27 loc) · 634 Bytes

Misc.LRUCache

clear()

Remove all items from the cache


get(key)

Arguments

  1. key (number): The key of the item to look up

put(key, value)

Arguments

  1. key (number): The key of the item to add/update
  2. value (number): The value of the item add/update