Skip to content

pandey-adarsh147/LRUProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generic LRU cache

How to use:

LRUCache<Integer, Store> storeLRUCache = new LRUCache<>(3);

storeLRUCache.add(new Store(1, 22)); storeLRUCache.add(new Store(2, 23)); storeLRUCache.add(new Store(3, 27)); storeLRUCache.add(new Store(4, 29)); storeLRUCache.add(new Store(5, 28)); storeLRUCache.add(new Store(6, 21)); storeLRUCache.add(new Store(7, 24));

storeLRUCache.shutdown();

About

A Generic LRU with prune thread.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages