Code example for ConcurrentHashMap

Methods: remove

0
     * @param key the key name for the parameter to remove. 
     */ 
    public void remove(String key){
        urlParams.remove(key);
        fileParams.remove(key);
        urlParamsWithArray.remove(key);
    } 
 
    @Override 
    public String toString() {
        StringBuilder result = new StringBuilder();
        for(ConcurrentHashMap.Entry<String, String> entry : urlParams.entrySet()) {
            if(result.length() > 0)
                result.append("&");
 
            result.append(entry.getKey());
            result.append("=");
            result.append(entry.getValue());
        } 
 
Connect your IDE to all the code out there  Get Codota for Java