public class CollectionUtils extends Object
Constructor and Description |
---|
CollectionUtils() |
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
createLRUCache(int size)
A Utility method for creating LRU cache.
|
public static <K,V> Map<K,V> createLRUCache(int size)
size
- size of the cache