
top.jfunc.common.utils.local.StringMapInfoHolderUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-utils Show documentation
Show all versions of common-utils Show documentation
common utils like IOUtil,StrUtil,HoldProcessor.etc.
The newest version!
package top.jfunc.common.utils.local;
/**
* Map>类型值的工具类
* @author xiongshiyan at 2017/12/27
*/
public class StringMapInfoHolderUtil {
private static final MapInfoHolder MAP_INFO_HOLDER = new MapInfoHolder<>();
public static void put(String key , String value){
MAP_INFO_HOLDER.add(key , value);
}
public static String get(String key){
return MAP_INFO_HOLDER.get(key);
}
public static void remove(String key){
MAP_INFO_HOLDER.remove(key);
}
public static void clear(){
MAP_INFO_HOLDER.clear();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy