_lfu_cache

package
v0.0.0-...-6ad7fa7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LFUCache

type LFUCache struct {
	// contains filtered or unexported fields
}

func Constructor

func Constructor(capacity int) LFUCache

func (*LFUCache) Get

func (c *LFUCache) Get(key int) int

func (*LFUCache) Put

func (c *LFUCache) Put(key int, value int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL