Code example for ConcurrentMap

Methods: remove

0
     * @param key 
     *            the cache key 
     * @return the element removed or null 
     */ 
    public ValT removeKey(Object key) {
        return cache.remove(key);
    } 
 
    @Override 
    public Set<KeyT> keySet() {
        return cache.keySet();
    } 
 
    @Override 
    public Set<Map.Entry<KeyT, ValT>> entrySet() {
        return cache.entrySet();
    } 
 
    @Override 
    public synchronized int size() { 
        return cache.size();