Remove any stored representation of conversational state
for bean identified by given key. <p>
11633
public void remove(BeanId beanId)
    {
        final String fileName = getPortableFilename(beanId);
        final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
        if (isTraceOn && tc.isEntryEnabled())
            Tr.entry(tc, "remove: key=" + beanId + ", file=" + fileName); //d248470

        try
        {
            AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() // 126586
            {
                public Void run()
                                throws Exception
                {
                    File theFile = getStatefulBeanFile(fileName, true);
                    if (isTraceOn && tc.isDebugEnabled()) //d152600
                        Tr.debug(tc, "deleting file: " + theFile.getName() + ", path: " + theFile.getPath());

                    boolean deleted = theFile.delete(); //d152600

                    if (isTraceOn && tc.isDebugEnabled()) //d152600
                        Tr.debug(tc, "File.delete returned: " + deleted);
                    return null;
                }
            });
        } catch (PrivilegedActionException ex)
        {
            FFDCFilter.processException(ex.getException(), CLASS_NAME + ".remove", "150", this);
            if (isTraceOn && tc.isEventEnabled())
                Tr.event(tc, "Failed to remove session bean state", new Object[] { beanId, ex });
        }

        if (isTraceOn && tc.isEntryEnabled())
            Tr.exit(tc, "remove");
    }
1105805
public String removeRequestBaggage(String key) {
        if (BAGGAGE_ENABLE && key != null) {
            return requestBaggage.remove(key);
        }
        return null;
    }
1336647
public void unregisterPrototype( String key, Class c )
    {

        prototypes.remove(new PrototypeKey(key, c));

    }
105298
@Override
    protected boolean remove(final NoSqlSession session)
    {
        if (session == null)
        {
            return false;
        }
        else
        {
            return deleteKey(session.getId());
        }
    }
769229
public void clear() {

        /**
         * Unfortunately log4j's MDC historically never had a mechanism to block remove keys,
         * so we're forced to do this one by one.
         */
        for (String key : allKeys()) {
           mdcBridge.remove(key);
        }

        PER_THREAD_CONTEXTS.getUnchecked(Thread.currentThread()).clear();
    }
23910
public void clearTableState(String key) {
        Map<String, Object> sessionMap = getFacesContext().getExternalContext().getSessionMap();
        Map<String, TableState> dtState = (Map) sessionMap.get(Constants.TABLE_STATE);
        if (dtState != null) {
            dtState.remove(key);
        }
    }
158999
public boolean clearEncryptionKeyData() {
        try {
            SharedPreferences.Editor editor = this.prefs.edit();
            editor.remove(preferenceKey);
            editor.commit();
        } catch (Exception e) {
            LOGGER.log(Level.SEVERE, e.getLocalizedMessage(), e);
            return false;
        }
        return true;
    }
869878
public void unregisterTimeout(K key) {
		Timeout<K> timeout = timeouts.remove(key);

		if (timeout != null) {
			timeout.cancel();
		}
	}
795663
public boolean remove(final CacheKey key) {
    Preconditions.checkNotNull(key);
    final EncodedImage encodedImage;
    synchronized (this) {
      encodedImage = mMap.remove(key);
    }
    if (encodedImage == null) {
      return false;
    }
    try {
      return encodedImage.isValid();
    } finally {
      encodedImage.close();
    }
  }
1263869
static void removeFromCache(String key) {
        HashMap<String, MPApiResponse> mapCache = getMapCache();
        mapCache.remove(key);
    }
887158
protected void removeKey (Comparable<?> key)
    {
        int index = _keys.indexOf(key);
        if (index != -1) {
            _keys.remove(index);
            _table.removeDatum(index);
        }
    }
687585
private void removeHasOneToBothPrimaryAndForeignKey() {
		String[] primaryKeys = model.getPrimaryAttributes();
		String[] hasOne = model.getHasOne();
		String[] hasOneLocal = model.getHasOneLocalColumn();
		String[] hasOneReferenced = model.getHasOneReferencedColumn();
		for(String pk : primaryKeys){
			int pkIndex = CStringUtils.indexOf(hasOneLocal, pk);
			if(pkIndex >= 0){
				System.out.println("\n"+pk+" is a primary key of ["+model.getTableName()+"] ("+hasOneLocal[pkIndex]+")"
						+ "and foreign key to ["+hasOne[pkIndex]+"]("+hasOneReferenced[pkIndex]+")");
				System.out.println("removing ["+hasOne[pkIndex]+"] from ["+model.getTableName()+"]");
				model = removeFromHasOne(model, hasOne[pkIndex]);
			}
		}
	}
883566
public void removeCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSession) {
		joinApplicationSession.remove(sipApplicationSession);
		replacesApplicationSession.remove(sipApplicationSession);
		Iterator<MobicentsSipApplicationSessionKey> it = joinApplicationSession.values().iterator();
		boolean found = false;
		while (it.hasNext() && !found) {
			MobicentsSipApplicationSessionKey sipApplicationSessionKey = it.next();
			if(sipApplicationSessionKey.equals(sipApplicationSession)) {
				joinApplicationSession.remove(sipApplicationSessionKey);
				found = true;
			}
		}
		it = replacesApplicationSession.values().iterator();
		found = false;
		while (it.hasNext() && !found) {
			MobicentsSipApplicationSessionKey sipApplicationSessionKey = it.next();
			if(sipApplicationSessionKey.equals(sipApplicationSession)) {
				replacesApplicationSession.remove(sipApplicationSessionKey);
				found = true;
			}
		}
	}
194267
@JustForTest
    synchronized static void removeValue(String key) {
        Object oldValue = CFG.get(key);
        if (oldValue != null) {
            CFG.remove(key);
            List<RpcConfigListener> rpcConfigListeners = CFG_LISTENER.get(key);
            if (CommonUtils.isNotEmpty(rpcConfigListeners)) {
                for (RpcConfigListener rpcConfigListener : rpcConfigListeners) {
                    rpcConfigListener.onChange(oldValue, null);
                }
            }
        }
    }
547014
public MobicentsSipApplicationSession removeSipApplicationSession(final MobicentsSipApplicationSessionKey key) {
		if(logger.isDebugEnabled()) {
			logger.debug("Removing a sip application session with the key : " + key);
		}
		MobicentsSipApplicationSession sipApplicationSession  = sipApplicationSessions.remove(key);
		if(sipApplicationSession != null) {
			final String appGeneratedKey = sipApplicationSession.getKey().getAppGeneratedKey();
			if(appGeneratedKey != null) {
				sipApplicationSessionsByAppGeneratedKey.remove(appGeneratedKey);
			}
		}
		return sipApplicationSession;
	}
624215
public MobicentsSipSession removeSipSession(final MobicentsSipSessionKey key) {
		if(logger.isDebugEnabled()) {
			logger.debug("Removing a sip session with the key : " + key);
		}
		return sipSessions.remove(key);
	}
848903
public void removeTypeParam(String key) {

        List<String> selectedTypes = m_searchObject.getTypes();
        if (selectedTypes.contains(key)) {
            m_handler.onClearTypes(Collections.singletonList(key));
            selectedTypes.remove(key);
            updateResultsTab(false);
            ValueChangeEvent.fire(this, m_searchObject);
        }
    }