code: public final boolean replace(final Parameter parameter) {
          for (Parameter parameter1 : getParameters(parameter.getName())) {
              remove(parameter1);
          }
          return add(parameter);
      }
docs: Replace any parameters of the same type with the one specified.
  @param parameter parameter to add to this list in place of all others with the same name
  @return true if successfully added to this list