public static List<Object> evaluate(List<Object> list,Bindings bindings) throws ExpressionException {
  List<Object> evaluatedList=new ArrayList<>();
  for (  Object object : list) {
    evaluatedList.add(evaluate(object,bindings));
  }
  return evaluatedList;
}

public static List < Object > evaluate ( List < Object > list , Bindings bindings ) throws ExpressionException { List < Object > evaluatedList = new ArrayList < > ( ) ; for ( Object object : list ) { evaluatedList . add ( evaluate ( object , bindings ) ) ; } return evaluatedList ; }
evaluate a list that may contain some string that needs to be evaluated .
