protected class MemoryUserCache.RealmUsers.LRUCache extends LinkedHashMap<String,CachedUser>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MemoryUserCache.RealmUsers.LRUCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
CachedUser |
put(String key,
CachedUser value) |
CachedUser |
remove(Object key) |
protected boolean |
removeEldestEntry(Map.Entry<String,CachedUser> eldest) |
containsValue, getclone, containsKey, entrySet, isEmpty, keySet, putAll, size, valuesequals, hashCode, toStringpublic CachedUser put(String key, CachedUser value)
put in interface Map<String,CachedUser>put in class HashMap<String,CachedUser>public CachedUser remove(Object key)
remove in interface Map<String,CachedUser>remove in class HashMap<String,CachedUser>public void clear()
clear in interface Map<String,CachedUser>clear in class LinkedHashMap<String,CachedUser>protected boolean removeEldestEntry(Map.Entry<String,CachedUser> eldest)
removeEldestEntry in class LinkedHashMap<String,CachedUser>Copyright © 2014. All Rights Reserved.