Code example for SimpleBindings

Methods: put

0
        CompiledScript script = calloutCache_.get(callout);
        if ( script != null )
        { 
            try 
            { 
                Bindings binding = new SimpleBindings();
                binding.put("args", args);
                result = script.eval(binding);
            } 
            catch(ScriptException ex)
            { 
                logger_.warn(LogUtil.throwableToString(ex));
            } 
        } 
        return result; 
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java