public synchronized void put(String name, Parameters value) throws GeneralSecurityException {
    if (parametersMap.containsKey(name)) {
      if (parametersMap.get(name).equals(value)) {
        return;
      }
      throw new GeneralSecurityException(
          "Parameters object with name "
              + name
              + " already exists ("
              + parametersMap.get(name)
              + "), cannot insert "
              + value);
    }
    parametersMap.put(name, value);
  }
A container for the global parameters values.

<p>Thread safe.
java_src/src/main/java/com/google/crypto/tink/internal/MutableParametersRegistry.java