code: public void setValuesForIn(String values, String name, Map<String, Object> map) {
          String cleanName = htmlCleaner.cleanupValue(name);
          String[] valueArrays = values.split("\\s*,\\s*");
          List<Object> valueObjects = new ArrayList<Object>(valueArrays.length);
          for (int i = 0; i < valueArrays.length; i++) {
              Object cleanValue = getCleanValue(valueArrays[i]);
              valueObjects.add(cleanValue);
          }
          setValueForIn(valueObjects, cleanName, map);
      }
docs: Stores list of values in map.
  @param values comma separated list of values.
  @param name name to use this list for.
  @param map map to store values in.