public synchronized void removeGeoQueryEventListener ( final GeoQueryDataEventListener listener ) { if ( ! eventListeners . contains ( listener ) ) { throw new IllegalArgumentException ( "Trying to remove listener that was removed or not added!" ) ; } eventListeners . remove ( listener ) ; if ( ! this . hasListeners ( ) ) { reset ( ) ; } }
Removes an event listener .