code: public static void addIndexedParameters( @Nonnull Map<String, String> parameters, @Nonnull String prefix, String ... values ) {
          if( values == null || values.length == 0 ) {
              return;
          }
          int i = 1;
          if( !prefix.endsWith(".") ) {
              prefix += ".";
          }
          for( String value : values ) {
              parameters.put(String.format("%s%d", prefix, i), value);
              i++;
          }
      }
docs: Helper method for adding indexed member parameters, e.g. <i>AlarmNames.member.N</i>. Will overwrite existing
  parameters if present. Assumes indexing starts at 1.
  
  @param parameters the existing parameters map to add to
  @param prefix     the prefix value for each parameter key
  @param values     the values to add