An open API service indexing awesome lists of open source software.

https://github.com/humbertodias/java-lru-cache

Least Recently Used (LRU) cache in Java.
https://github.com/humbertodias/java-lru-cache

java8 lru-cache

Last synced: 5 months ago
JSON representation

Least Recently Used (LRU) cache in Java.

Awesome Lists containing this project

README

          

# LRU cache

Least Recently Used (LRU) cache in Java.

# Test

```
mvn test
```

```
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.mycompany.app.LRUCacheTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.248 sec

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jun 12 16:23:15 CEST 2017
[INFO] Final Memory: 19M/309M
[INFO] ------------------------------------------------------------------------
```

# References

1. [Leet Code LRU](http://www.programcreek.com/2013/03/leetcode-lru-cache-java)
2. [The Magic of LRU Cache (100 Days of Google Dev)](https://www.youtube.com/watch?v=R5ON3iwx78M)