top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How we can build LRU cache in java using concurrent package

+9 votes
424 views

how we can build LRU cache in java using concurrent package??
Can anyone give some code.

posted Jan 31, 2014 by Merry

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+3 votes

How can we implement an LRU cache using just a single container i.e. map or unordered_map?

Expected operations:
1. find(key_t) - find a certain value in cache
2. insert(key_t, value_t) - insert a new value to the cache

...