Package com.github.underscore
Class U.LruCache<K,V>
java.lang.Object
com.github.underscore.U.LruCache<K,V>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private static final float
private static final boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
SORT_BY_ACCESS
private static final boolean SORT_BY_ACCESS- See Also:
-
LOAD_FACTOR
private static final float LOAD_FACTOR- See Also:
-
lruCacheMap
-
capacity
private final int capacity
-
-
Constructor Details
-
LruCache
public LruCache(int capacity)
-
-
Method Details
-
get
-
put
-