Package com.github.underscore
Class U.LruCache<K,V>
- java.lang.Object
-
- com.github.underscore.U.LruCache<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private int
capacity
private static float
LOAD_FACTOR
private Map<K,V>
lruCacheMap
private static boolean
SORT_BY_ACCESS
-
Constructor Summary
Constructors Constructor Description LruCache(int capacity)
-
-
-
Field Detail
-
SORT_BY_ACCESS
private static final boolean SORT_BY_ACCESS
- See Also:
- Constant Field Values
-
LOAD_FACTOR
private static final float LOAD_FACTOR
- See Also:
- Constant Field Values
-
capacity
private final int capacity
-
-