code: public void setTokens(Map<String, String> tokens) {
          tokenValues.clear();
          tokenValues.putAll(tokens);
      }
docs: Replaces all current token values with the contents of the given map,
  where each map key represents a token name, and each map value
  represents a token value.
  
  @param tokens
  A map containing the token names and corresponding values to
  assign.