Remove a map TIP from the lists for running maps.
Called when a map fails/completes (note if a map is killed,
it won't be present in the list since it was completed earlier)
@param tip the tip that needs to be retired
178835
private void retireMapUnprotected(TaskInProgress tip) {
    if (runningMaps == null) {
      LOG.warn("Running cache for maps missing!! "
               + "Job details are missing.");
      return;
    }
    runningMaps.remove(tip);
  }
374
@Override
  public void clear() {
    // iterate over all keys in originalMap and set them to null in deltaMap
    for (K key : originalMap.keySet()) {
      deltaMap.put(key, ErasureUtils.<Collection<V>>uncheckedCast(removedValue));
    }
  }
1059040
public void remove(Endpoint follower) {
        FollowerState removed = followerStates.remove(follower);
        assert removed != null : "Unknown follower " + follower;
    }
444837
function(map) {
    if(this.options.added) {
      this.options.added = false;
      L.TileLayer.prototype.onRemove.call(this, map);
    }
  }
461630
private void failReduceUnprotected(TaskInProgress tip) {
    if (nonRunningReduces == null) {
      LOG.warn("Failed cache for reducers missing!! "
               + "Job details are missing.");
      return;
    }
    nonRunningReduces.add(0, tip);
  }
678735
public void remove(K key) {

        V removedValue = m_forwardMap.remove(key);
        if (removedValue != null) {
            m_reverseMap.remove(removedValue, key);
        }
    }
1053782
private void retireReduceUnprotected(TaskInProgress tip) {
    if (runningReduces == null) {
      LOG.warn("Running list for reducers missing!! "
               + "Job details are missing.");
      return;
    }
    runningReduces.remove(tip);
  }
687010
static <K, E> void removeFromList(Map<K, List<E>> map, K k, E e)
    {
        List<E> list = map.get(k);
        if (list != null)
        {
            list.remove(e);
            if (list.isEmpty())
            {
                map.remove(k);
            }
        }
    }
794334
def close(self, clear=True):
        
        if self._tooltips_runner:
            self._tooltips_runner.cancel_requests()
            self._tooltips_runner = None
        self.decorations.clear()
        self.modes.clear()
        self.panels.clear()
        self.backend.stop()
        Cache().set_cursor_position(
            self.file.path, self.textCursor().position())
        super(CodeEdit, self).close()
357222
def update_tool_tip(self, service_running: bool):
        """"""
        if service_running:
            self.setToolTip(TOOLTIP_RUNNING)
        else:
            self.setToolTip(TOOLTIP_PAUSED)
143329
private void delPoint() {
		if (!isEnabled()) {
			return;
		}
		
		if (selected == null) {
			return;
		}
		if (list.indexOf(selected) == 0) {
			return;
		}
		if (list.indexOf(selected) == list.size()-1) {
			return;
		}
		
		list.remove(selected);
		sortPoints();
		repaint(0);
		fireUpdate();
	}
1147899
public void remove() {
        if (polyline != null) {
            polyline.remove();
            polyline = null;
        }
        for (Marker marker : markers) {
            marker.remove();
        }
    }
71314
public void clear() {
        if (clusterMarker != null) {
            Layers mapOverlays = clusterManager.getMapView().getLayerManager().getLayers();
            if (mapOverlays.contains(clusterMarker)) {
                mapOverlays.remove(clusterMarker);
            }
            clusterManager = null;
            clusterMarker = null;
        }
        synchronized (items) {
            items.clear();
        }
    }
1133183
public void remove() {
        if(_mapIterator == null)
            throw new UnsupportedOperationException(Bundle.getErrorString("IteratorFactory_Iterator_removeUnsupported", new Object[]{this.getClass().getName()}));
        else _mapIterator.remove();
    }
722918
public void keypointComplete()
    {
        if (tc.isEntryEnabled())
            Tr.entry(tc, "keypointComplete", this);

        _status = STATUS_ACTIVE;

        if (tc.isEntryEnabled())
            Tr.exit(tc, "keypointComplete");
    }
89443
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);
        }
    }
279488
public void removeLocation(final String key, final CompletionListener completionListener) {
        if (key == null) {
            throw new NullPointerException();
        }
        DatabaseReference keyRef = this.getDatabaseRefForKey(key);
        if (completionListener != null) {
            keyRef.setValue(null, new DatabaseReference.CompletionListener() {
                @Override
                public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {
                    completionListener.onComplete(key, databaseError);
                }
            });
        } else {
            keyRef.setValue(null);
        }
    }