Removes the dependency

@param key           key for removing dependency
@param keyDependency key of dependency
@return ServiceGraphModule with change
336575
public ServiceGraphModule removeDependency(Key<?> key, Key<?> keyDependency) {
		removedDependencies.computeIfAbsent(key, key1 -> new HashSet<>()).add(keyDependency);
		return this;
	}
806091
@Override
	public Controller<M, V> removeChild(final String key)
	{
		return children.remove(key);
	}
1291792
public synchronized void remove(Object key)
	{
		final Object o = map.remove(key);
		if (o != null)
			tree.remove(o);
	}
1099925
public static KV<String, Forest> remove(String key) {
        KV<String, Forest> kv = AMBIGUITY.get(key);
        if (kv != null && kv.getV() != null) {
            kv.getV().clear();
        }
        MyStaticValue.ENV.remove(key);
        return AMBIGUITY.remove(key);
    }
1097319
def module_del(self, key):
        
        if key in self._module_event_map:
            del self._module_event_map[key]
        if key in self._watch_modules.names:
            self._watch_modules.remove(key)
468113
static List<Dependency> rootCycleAt(List<Dependency> cycle, Key<?> key) {
    for (int i = 0; i < cycle.size(); ++i) {
      if (key.equals(cycle.get(i).getSource())) {
        List<Dependency> returnValue = new ArrayList<Dependency>();
        returnValue.addAll(cycle.subList(i, cycle.size()));
        returnValue.addAll(cycle.subList(0, i));
        return returnValue;
      }
    }

    return cycle;
  }
1018939
@Override
	public Object remove(java.lang.Object key) {
		return internalMap.remove(key);
	}
752430
public void remove(PropertyKey key) {
    // remove is a nop if the key doesn't already exist
    if (mUserProps.containsKey(key)) {
      mUserProps.remove(key);
      mSources.remove(key);
    }
  }
682975
@Help(
    help =
        "Create the VirtualNetworkFunctionDescriptor dependency of a NetworkServiceDescriptor with specific id"
  )
  public VNFDependency createVNFDependency(final String idNSD, final VNFDependency vnfDependency)
      throws SDKException {
    String url = idNSD + "/vnfdependencies" + "/";
    return (VNFDependency) requestPost(url, vnfDependency);
  }
392149
def __remove_service(self, key, service):
        
        try:
            # Remove the injected service
            prop_services = self._future_value[key]
            prop_services.remove(service)

            # Clean up
            if not prop_services:
                del self._future_value[key]

        except KeyError:
            # Ignore: can occur when removing a service with a None property,
            # if allow_none is False
            pass
681722
public void addDependency(Service service) {
        assertDuringInitialization();
        LOG.info("Adding a dependency on {} to {}", service.getName(), getName());
        addDependsOn(service);
        service.addDependedBy(this);
    }
79224
private void deleteDependency(CmsModule module, String dependencyName) {

        List oldDependencies = module.getDependencies();
        List newDependencies = new ArrayList();
        Iterator i = oldDependencies.iterator();
        while (i.hasNext()) {
            CmsModuleDependency dep = (CmsModuleDependency)i.next();
            if (!dep.getName().equals(dependencyName)) {
                newDependencies.add(dep);
            }
        }
        module.setDependencies(newDependencies);
        // update the module information
        try {
            OpenCms.getModuleManager().updateModule(getCms(), module);
        } catch (CmsConfigurationException ce) {
            // should never happen
            throw new CmsRuntimeException(
                Messages.get().container(Messages.ERR_ACTION_DEPENDENCIES_DELETE_2, dependencyName, module.getName()),
                ce);

        } catch (CmsRoleViolationException re) {
            throw new CmsRuntimeException(
                Messages.get().container(Messages.ERR_ACTION_DEPENDENCIES_DELETE_2, dependencyName, module.getName()),
                re);
        }
    }
1055756
public synchronized Object remove(String key) {
        Object retVal;

        retVal = primaryTable.remove(key);
        if (retVal == null) {
            retVal = secondaryTable.remove(key);
            if (retVal == null) {
                return tertiaryTable.remove(key);
            }
        }
        return retVal;
    }
575952
public static <T> Dependency<T> get(Key<T> key) {
    return new Dependency<T>(null, MoreTypes.canonicalizeKey(key), true, -1);
  }
1029845
@Help(
    help =
        "Delete the VirtualNetworkFunctionDescriptor dependency of a NetworkServiceDescriptor with specific id"
  )
  public void deleteVNFDependency(final String idNSD, final String idVnfd) throws SDKException {
    String url = idNSD + "/vnfdependencies" + "/" + idVnfd;
    requestDelete(url);
  }
846371
public void remove(String key) {
        String processedKey = processKey(key);
        String orderKey = null;

        // removing key set for all positions
        for (int i = 0; i < this.order.size(); i++) {
            orderKey = this.order.get(i);

            if (orderKey != null && orderKey.equals(processedKey) == true) {
                this.order.remove(i);
            }
        }

        this.types.remove(processedKey);
        this.direction.remove(processedKey);
        this.values.remove(processedKey);
    }
380579
public V getAndRemove(String key) {
		try {
			V objToShare = retrieveSharedQueue(key).take();
			mediations.remove(key);
			return objToShare;
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
	}