Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
LRUCache implement Least Recently Used (LRU) cache.
func Constructor ¶
Constructor creates and initializes a new LRUCache using capacity as its capacity.
Click to show internal directories.
Click to hide internal directories.