Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lru
master
Lru
Cache
Built with Crystal 1.9.2
2023-10-07 10:20:00 UTC
class
Lru::Cache(K, V)
Lru::Cache(K, V)
Reference
Object
Defined in:
lru/cache.cr
Constructors
.new
(size : Int32)
Instance Method Summary
#[]
(key)
#[]=
(key, val)
Constructor Detail
def self.
new
(size : Int32)
#
[
View source
]
Instance Method Detail
def
[]
(key)
#
[
View source
]
def
[]=
(key, val)
#
[
View source
]