public Object put(String name, Object value) { if (storeScriptVariables) { Object oldValue = null; if (!UNSTORED_KEYS.contains(name)) { oldValue = variableScope.getVariable(name); variableScope.setVariable(name, value); return oldValue; } } return defaultBindings.put(name, value); }
public Set<String> keySet() { return variableScope.getVariables().keySet(); }
public Set<Map.Entry<String, Object>> entrySet() { return variableScope.getVariables().entrySet(); }
public Collection<Object> values() { return variableScope.getVariables().values(); }
public int size() { return variableScope.getVariables().size(); }