public class FastCache<K,V> extends AbstractMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static int |
TABLE_SIZE |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
long |
getCacheCount() |
long |
getTotalCount() |
V |
put(K key,
V value)
Put the key and value in the cache and the underlying
map.
|
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
public static final int TABLE_SIZE
public long getCacheCount()
public long getTotalCount()
Copyright © 2017 Oracle. All rights reserved.