StringsMap.java
/*
* Copyright © 2026 The CTAN Team and individual authors
*
* This file is distributed under the 3-clause BSD license.
* See file LICENSE for details.
*/
package org.ctan.site.services.util;
import java.util.HashMap;
/**
* The class <code>StringsMap</code> contains a class for a mapping of String to
* Object.
*
* @author <a href="mailto:gene@ctan.org">Gerd Neugebauer</a>
*/
public class StringsMap extends HashMap<String, Object> {
/**
* The field <code>serialVersionUID</code> contains the the version number.
*/
private static final long serialVersionUID = 1L;
/**
* The method <code>add</code> provides means to add a key/value pair.
*
* @param key the key
* @param value the value
* @return this
*/
public StringsMap add(String key, Object value) {
put(key, value);
return this;
}
}