public class WeakCacheWildcardMap extends java.lang.Object implements WildcardMap
Constructor and Description |
---|
WeakCacheWildcardMap() |
WeakCacheWildcardMap(WildcardMap delegate) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
clear this map
|
java.lang.Object |
getNoExpansion(java.lang.Object key)
Returns the value to which this map maps the specified key.
|
java.lang.Object[] |
getWithExpansion(java.lang.Object key)
Returns the value to which this map maps the specified key.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
The operation
put associates the specified value with the specified key in
this map. |
java.lang.Object |
remove(java.lang.Object key)
remove the specified key from this Map.
|
public WeakCacheWildcardMap(WildcardMap delegate)
public WeakCacheWildcardMap()
public void clear()
WildcardMap
clear
in interface WildcardMap
public java.lang.Object getNoExpansion(java.lang.Object key)
WildcardMap
getNoExpansion
in interface WildcardMap
key
- key whose associated value is to be returnedpublic java.lang.Object[] getWithExpansion(java.lang.Object key)
WildcardMap
getWithExpansion
in interface WildcardMap
key
- key whose associated value is to be returnedpublic java.lang.Object put(java.lang.Object key, java.lang.Object value)
WildcardMap
put
associates the specified value with the specified key in
this map. The String representation of the Key toString()
is used. If the map previously contained a mapping for this key, the old value is replaced by
the specified value.put
in interface WildcardMap
key
- key with which String representation the specified value is to be associated.value
- value to be associated with the specified key.public java.lang.Object remove(java.lang.Object key)
WildcardMap
remove
in interface WildcardMap