Remove the bus hub with the given name.

@param name is the name of the bus hub to remove.
@return <code>true</code> if the bus hub was successfully removed, otherwise <code>false</code>
485941
public boolean removeBusHub(String name) {
		Iterator<BusHub> iterator;
		BusHub busHub;

		iterator = this.validBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				busHub.setEventFirable(true);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		iterator = this.invalidBusHubs.iterator();
		while (iterator.hasNext()) {
			busHub = iterator.next();
			if (name.equals(busHub.getName())) {
				iterator.remove();
				busHub.setContainer(null);
				firePrimitiveChanged(new BusChangeEvent(this,
						BusChangeEventType.HUB_REMOVED,
						busHub,
						-1,
						null,
						null,
						null));
				checkPrimitiveValidity();
				return true;
			}
		}

		return false;
	}
668123
private void unregisterMBeanInService(String name) {
        ServiceRegistration<DynamicMBean> existingMBean = endpointMBeans.remove(name);
        if (existingMBean != null) {
            existingMBean.unregister();
        }
    }
439843
public function remove($name)
    {
        if (isset($this->{$name}))
        {
            unset($this->object[$name]);

            return true;
        }

        return false;
    }
664856
public static Bootstrap removeConfiguration(Bootstrap b, String name) {
		Objects.requireNonNull(b, "bootstrap");
		Objects.requireNonNull(name, "name");
		if (b.config().handler() != null) {
			b.handler(removeConfiguration(b.config().handler(), name));
		}
		return b;
	}
106259
public static boolean isValidName(String name) {
    final int length = name.length();
    if (length == 0) {
      return false;
    }
    char ch = name.charAt(0);
    if (!isNameStart(ch)) {
      return false;
    }
    for (int i = 1; i < length; ++i) {
      ch = name.charAt(i);
      if (!isName(ch)) {
        return false;
      }
    }
    return true;
  }
94980
public void removeChildrenWithName(String name) {
        for (int i = children.size() - 1; i >= 0; i--) {
            if (children.get(i).name.equals(name)) {
                children.remove(i).parent = null;
            }
        }
    }
1186659
public boolean delete(String name, boolean bankAccount) {
        boolean result = false;
        if (exist(name, bankAccount)) {
            result = Common.getInstance().getStorageHandler().getStorageEngine().deleteAccount(name, bankAccount);
            if (bankAccount) {
                bankList.remove(name);
            } else {
                accountList.remove(name);
            }
        }
        return result;
    }
481346
public <V,T extends RiakIndex<V>> T removeIndex(RiakIndex.Name<T> name)
    {
        RiakIndex<?> removed = indexes.remove(name.getFullname());
        if (removed != null)
        {
            T index = name.wrap(removed).createIndex();
            return index;
        }
        else
        {
            return null;
        }
    }
138759
@Override
    public void removeMonomer(String name) {
        if (monomers.containsKey(name)) {
            Monomer monomer = (Monomer) monomers.get(name);
            this.remove(monomer);
            monomers.remove(name);
        }
    }
983640
public Object removeAttribute(String name)
  {
    if (_attributes == null)
      return null;
    else
      return _attributes.remove(name);
  }
24556
public void removeHeader( String name )
    {
        ListIterator<Header> it = headers.listIterator();
        while ( it.hasNext() ) {
            if ( it.next().getName().equals( name ) ) {
                it.remove();
            }
        }
    }
588538
public boolean remove(MetricName name) {
		final Metric metric = metrics.remove(name);
		if (metric != null) {
			// We have to unregister the Metric with the legacy Dropwizard Metric registry as
			// well to support existing reports and listeners
			metricRegistry.remove(name.toGraphiteName());
			return true;
		}
		return false;
	}
1023627
public void removeName(String name)
   {
      indexes.remove(name);
      names.remove(name);
      dirty = true;
   }
655950
public boolean deleteProperty(String name) {
        BugProperty prev = null;
        BugProperty prop = propertyListHead;

        while (prop != null) {
            if (prop.getName().equals(name)) {
                break;
            }
            prev = prop;
            prop = prop.getNext();
        }

        if (prop != null) {
            if (prev != null) {
                // Deleted node in interior or at tail of list
                prev.setNext(prop.getNext());
            } else {
                // Deleted node at head of list
                propertyListHead = prop.getNext();
            }

            if (prop.getNext() == null) {
                // Deleted node at end of list
                propertyListTail = prev;
            }

            return true;
        } else {
            // No such property
            return false;
        }
    }
1251599
@Pure
	public static boolean isBusStopNoHaltBindingNamesDrawable() {
		final Preferences prefs = Preferences.userNodeForPackage(BusLayerConstants.class);
		if (prefs != null) {
			return prefs.getBoolean("DRAW_NO_BUS_HALT_BIND_NAMES", DEFAULT_NO_BUS_HALT_BIND_NAMES); //$NON-NLS-1$
		}
		return DEFAULT_NO_BUS_HALT_BIND_NAMES;
	}
1023209
public static boolean removeAlgorithm(String name) {
		ListIterator<StructureAlignment> algIt = algorithms.listIterator();
		while(algIt.hasNext()) {
			StructureAlignment alg = algIt.next();
			if(alg.getAlgorithmName().equalsIgnoreCase(name)) {
				algIt.remove();
				return true;
			}
		}
		return false;
	}
394778
def delete_connection(self, name):
        
        name = quote(name, '')
        path = Client.urls['connections_by_name'] % name
        self._call(path, 'DELETE')
        return True