i know that the LinkedHashMap provides a constructor, where you can indicate if the map should be sorted by the access order thus effectively providing an LRU implementation. Can you tell me which (and if) other Collections and Maps from the big Collections zoo provide this feature?
i know that the LinkedHashMap provides a constructor, where you can indicate if the
Share
I don’t think I completely understand the question, but maybe you want to have a look in the LRUMap implementation of the Commons Collections framework.