Java Script removeScript(String name)

Here you can find the source of removeScript(String name)

Description

remove Script

License

Open Source License

Declaration

public static void removeScript(String name) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Hashtable;

import java.util.Map;

import javax.script.CompiledScript;

public class Main {
    private static Map<String, CompiledScript> ccMap = new Hashtable<>();

    public static void removeScript(String name) {
        if (ccMap.containsKey(name))
            ccMap.remove(name);//from ww w .  j av  a2  s . c  o  m
    }
}

Related

  1. getBallerinaFromJsonModel(String jsonModel)
  2. getDynamicInput(String key)
  3. getScript(String name)
  4. getScriptCompileMsg(ScriptException ex)
  5. getSpParamOfWeiboLogin(String pwd, String servicetime, String nonce)
  6. runScript(final String script)
  7. toMap(ScriptObjectMirror som, Class type)
  8. toSci(BigDecimal bd, int sf)