Skip to content

zerosith/LRUCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LRU Cache Generic simple implementation

This repository contains an implementation od LRU cache

Pre requisites

  • Maven 3.8.3
  • JDK 17.0.1

Features

  • Uses A LinkedList to store the order of the cache
  • Uses A hasmap to easily know wheter an element is or not in the cache

Run the code

Go to root folder LRUCache and run:

mvn clean install 

After that the jar LRUCache-0.1.jar is generated in the LRUCache\target folder Go to the folder LRUCache\target and run:

java -jar LRUCache-0.1.jar

This will run the tests included in this library

Jacoco Report

Go to root folder LRUCache and run:

mvn clean install test site

Go to the folder LRUCache\target\site\jacoco and open the file:

index.html

To check the generated coverage report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages