code: public static void addIndexedParameters( @Nonnull Map<String, String> parameters, @Nonnull String prefix, Map<String, String> extraParameters ) {
          if( extraParameters == null || extraParameters.size() == 0 ) {
              return;
          }
          int i = 1;
          for( Map.Entry<String, String> entry : extraParameters.entrySet() ) {
              parameters.put(prefix + i + ".Name", entry.getKey());
              if( entry.getValue() != null ) {
                  parameters.put(prefix + i + ".Value", entry.getValue());
              }
              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 extraParameters the values to add