public void removeListeners(){
  if (clickListeners != null) {
    clickListeners.clear();
  }
  if (selectListeners != null) {
    selectListeners.clear();
  }
}

public void removeListeners ( ) { if ( clickListeners != null ) { clickListeners . clear ( ) ; } if ( selectListeners != null ) { selectListeners . clear ( ) ; } }
removing all defined listeners
