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

com.qa.framework.cache.ResultCache Maven / Gradle / Ivy

There is a newer version: 3.8
Show newest version
package com.qa.framework.cache;

import com.qa.framework.bean.Method;

import java.util.HashMap;

/**
 * Created by kcgw001 on 2016/2/2.
 */
public class ResultCache {
    private static ThreadLocal> ResultCache = new ThreadLocal<>();

    /**
     * Set.
     *
     * @param hashMap the hash map
     */
    public static void set(HashMap hashMap) {
        ResultCache.set(hashMap);
    }

    /**
     * Get hash map.
     *
     * @return the hash map
     */
    public static HashMap get() {
        return ResultCache.get();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy