K - KeyV - Value@Deprecated public class ConcurrentAgingHashMap<K,V> extends Object
| Constructor and Description |
|---|
ConcurrentAgingHashMap(long age)
Deprecated.
Constructs a ConcurrentAgingHashMap structure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Clear all entries in the map.
|
Set<Map.Entry<K,V>> |
entrySet()
Deprecated.
Return a set with key value pair.
|
V |
get(K key)
Deprecated.
Returns the value for given key.
|
void |
put(K key,
V value)
Deprecated.
Stores the key value pair into the Map.
|
void |
remove(K key)
Deprecated.
Remove the value for given key.
|
void |
replace(K key,
V value)
Deprecated.
Replace the entry for the given Key Value pair.
|
int |
size()
Deprecated.
Returns the number of entries.
|
Collection<V> |
values()
Deprecated.
Return a collection with only values
|
public ConcurrentAgingHashMap(long age)
age - of the map in millisecondspublic int size()
public V get(K key)
key - for which value needs to retrievedpublic void put(K key, V value)
key - Keyvalue - Valuepublic void remove(K key)
key - remove value corresponding to keypublic void replace(K key, V value)
key - Keyvalue - Valuepublic Set<Map.Entry<K,V>> entrySet()
public Collection<V> values()
public void clear()
Copyright © 2014. All Rights Reserved.