code: public FeatureState setParameter(String name, String value) {
          if (value != null) {
              this.parameters.put(name, value);
          }
          else {
              this.parameters.remove(name);
          }
          return this;
      }
docs: Sets a new value for the given parameter.