Code example for Set

Methods: remove

0
		return result;
	} 
 
	@Override 
	public boolean unsubscribe(MessageHandler handler) {
		boolean result = this.handlers.remove(handler);
		if (result) {
			if (logger.isDebugEnabled()) { 
				logger.debug(getBeanName() + " removed " + handler);
			} 
		} 
		return result;
	} 
 
}