synchronized public static void unregister(final EventBusListener listener){
  for (  final List<EventBusListener> list : map.values()) {
    list.remove(listener);
  }
}

synchronized public static void unregister ( final EventBusListener listener ) { for ( final List < EventBusListener > list : map . values ( ) ) { list . remove ( listener ) ; } }
removes a listener from all events .
