Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRUCache ¶
type LRUCache[K comparable, V any] struct { Head, Tail *Node[K, V] // contains filtered or unexported fields }
type Node ¶
type Node[K comparable, V any] struct { Key K Val V Prev, Next *Node[K, V] }
Click to show internal directories.
Click to hide internal directories.