package
Version:
v0.0.0-...-bb18aec
Opens a new window with list of versions in this module.
Published: Dec 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (l *LRU[K, V]) Get(k K) (V, bool)
Get 获取元素
func (l *LRU[K, V]) Put(k K, v V)
Put 添加或更新元素
Source Files
¶
Click to show internal directories.
Click to hide internal directories.