All Downloads are FREE. Search and download functionalities are using the official Maven repository.

http.helpers.DataHelper Maven / Gradle / Ivy

package http.helpers;

import java.util.HashMap;

/**
 * @deprecated As of release 2.0, replaced by {@link net.itarray.automotion.tools.helpers.DataHelper}
 */
@Deprecated
public class DataHelper {

    private static HashMap map = new HashMap();

    public DataHelper(HashMap map) {
        this.map = map;
    }

    /**
     * If the value is equal to {skip} then it will be skipped from adding
     */
    public static HashMap putIntoMap(String key, Object value) {
        if (!value.equals("{skip}")) {
            map.put(key, value);
        }

        return map;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy