Documentation ¶
Index ¶
- type LRU
- func (l *LRU) Get(key interface{}) (value interface{}, exist bool)
- func (l *LRU) GetKeyFromValue(value interface{}) (key interface{}, exist bool)
- func (l *LRU) GetLastValue() interface{}
- func (l *LRU) IsEmpty() bool
- func (l *LRU) IsFull() bool
- func (l *LRU) Put(key, value interface{})
- func (l *LRU) ReplaceLastValue(key interface{}) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LRU ¶
type LRU struct {
// contains filtered or unexported fields
}
func (*LRU) GetKeyFromValue ¶
func (*LRU) GetLastValue ¶
func (l *LRU) GetLastValue() interface{}
func (*LRU) ReplaceLastValue ¶
func (l *LRU) ReplaceLastValue(key interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.