code: public static <L, K> void removeListener (Map<K, ListenerList<L>> map, K key, L listener)
      {
          ListenerList<L> list = map.get(key);
          if (list != null) {
              list.remove(listener);
          }
      }
docs: Removes a listener from the supplied list in the supplied map.