protected final <T extends EventListener> void removeListener(Class<T> listenerType, T listener) {
		if (this.listeners != null) {
			this.listeners.remove(listenerType, listener);
			if (this.listeners.isEmpty()) {
				this.listeners = null;
			}
		}
	}
protected final < T extends EventListener > void removeListener ( Class < T > listenerType , T listener ) { if ( this . listeners != null ) { this . listeners . remove ( listenerType , listener ) ; if ( this . listeners . isEmpty ( ) ) { this . listeners = null ; } } }
Remove a listener.

@param <T> is the type of listener to add.
@param listenerType is the type of listener to remove.
@param listener is the new listener.