Code example for HashMap

Methods: containsKey, put, remove

0
		_processors.put(commandName, processor);
	} 
	 
	public void reregister(String commandName, RequestProcessor processor) throws ProcessorRegistrationConflictException
    { 
        if (_processors.containsKey(commandName))
        { 
            unregister(commandName);
        } 
         
        _processors.put(commandName, processor);
    } 
	 
	public void unregister(String commandName)
	{ 
		_processors.remove(commandName);
	} 
	 
	public Future<DatabusRequest> run(DatabusRequest request)
	{ 
		RequestProcessor processor = _processors.get(request.getName());