code: public Map<Object, Object> removeAll(final Object key) {
  		lock.writeLock().lock();
  		try {
  			final Map<Object, Object> result = new HashMap<Object, Object>();
  			Object resultObj;
  			if (containsValidPrefix(key)) {
  				resultObj = properties.remove(key);
  				if (resultObj != null) {
  					result.put(key, resultObj);
  				}
  			} else {
  				for (final String prefix : getPrefixes()) {
  					final String pkey = prefix + PrefixConfig.PREFIXDELIMITER + key;
  					resultObj = properties.remove(pkey);
  					if (resultObj != null) {
  						result.put(pkey, resultObj);
  					}
  				}
  				resultObj = properties.remove(key);
  				if (resultObj != null) {
  					result.put(key, resultObj);
  				}
  			}
  			return result;
  		} finally {
  			lock.writeLock().unlock();
  		}
  	}
docs: Removes the all.
  
  @param key
  the key
  @return the map