protected void setResults(GraphRewrite event, String variable, Iterable<? extends WindupVertexFrame> results)
    {
        Variables variables = Variables.instance(event);
        Iterable<? extends WindupVertexFrame> existingVariables = variables.findVariable(variable, 1);
        if (existingVariables != null)
        {
            variables.setVariable(variable, Iterables.concat(existingVariables, results));
        }
        else
        {
            variables.setVariable(variable, results);
        }
    }
protected void setResults ( GraphRewrite event , String variable , Iterable < ? extends WindupVertexFrame > results ) { Variables variables = Variables . instance ( event ) ; Iterable < ? extends WindupVertexFrame > existingVariables = variables . findVariable ( variable , 1 ) ; if ( existingVariables != null ) { variables . setVariable ( variable , Iterables . concat ( existingVariables , results ) ) ; } else { variables . setVariable ( variable , results ) ; } }
This sets the variable with the given name to the given value. If there is already a variable with the same name in the top-most stack frame,
we will combine them here.

This helps in the case of multiple conditions tied together with "or" or "and".