@Override public void undeclareBean(BSFDeclaredBean bean) throws BSFException { assert bean != null; String name = bean.name; if (!name.startsWith("$")) { name = "$".concat(name); } container.getVarMap().remove(name); }
@Override public void undeclareBean(BSFDeclaredBean bean) throws BSFException { assert bean != null; String name = bean.name; if (!name.startsWith("$")) { name = "$".concat(name); } container.getVarMap().remove(name); }
@Override public void undeclareBean(BSFDeclaredBean bean) throws BSFException { assert bean != null; String name = bean.name; if (!name.startsWith("$")) { name = "$".concat(name); } container.getVarMap().remove(name); }
@Override public void undeclareBean(BSFDeclaredBean bean) throws BSFException { assert bean != null; String name = bean.name; if (!name.startsWith("$")) { name = "$".concat(name); } container.getVarMap().remove(name); }
/** * Removes the specified Ruby variable with the specified variable name from a * variable map and runtime top level. If the map previously contained a * mapping for the key, the old value is returned. The key must be a valid * Ruby variable name. * * @param key is a key that the specified value is to be associated with * @return a previous value associated with a key, or null if there was * no mapping for this key. */ public Object remove(String key) { return provider.getVarMap().remove(key); }
/** * Removes the specified Ruby variable with the specified variable name from a * variable map and runtime top level. If the map previously contained a * mapping for the key, the old value is returned. The key must be a valid * Ruby variable name. * * @param key is a key that the specified value is to be associated with * @return a previous value associated with a key, or null if there was * no mapping for this key. */ public Object remove(String key) { return provider.getVarMap().remove(key); }
/** * Removes the specified Ruby variable with the specified variable name from a * variable map and runtime top level. If the map previously contained a * mapping for the key, the old value is returned. The key must be a valid * Ruby variable name. * * @param key is a key that the specified value is to be associated with * @return a previous value associated with a key, or null if there was * no mapping for this key. */ public Object remove(String key) { return provider.getVarMap().remove(key); }
/** * Removes the specified Ruby variable with the specified variable name from a * variable map and runtime top level. If the map previously contained a * mapping for the key, the old value is returned. The key must be a valid * Ruby variable name. * * @param key is a key that the specified value is to be associated with * @return a previous value associated with a key, or null if there was * no mapping for this key. */ public Object remove(String key) { return provider.getVarMap().remove(key); }