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