@@ -0,0 +1,1102 @@
+package com.iknow.imageselect.utils;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic class CacheBean %7B%0A%0A%09private static Map%3CString, CacheBean%3E cacheBeanMap = new HashMap%3CString, CacheBean%3E();%0A%0A%09private static Map%3CString, Map%3CString, Object%3E%3E paramMap = new HashMap%3CString, Map%3CString, Object%3E%3E();%0A%0A%09public static void putParam(String token, String key, Object value) %7B%0A%09%09Map%3CString, Object%3E params = paramMap.get(token);%0A%09%09if (params == null) %7B%0A%09%09%09params = new HashMap%3CString, Object%3E();%0A%09%09%7D%0A%09%09params.put(key, value);%0A%09%09paramMap.put(token, params);%0A%09%7D%0A%0A%09public static Object getParam(String token, String key) %7B%0A%09%09Map%3CString, Object%3E params = paramMap.get(token);%0A%09%09if (params == null) %7B%0A%09%09%09return null;%0A%09%09%7D%0A%09%09return params.get(key);%0A%09%7D%0A%0A%09public static void clean(String token) %7B%0A%09%09cacheBeanMap.remove(token);%0A%09%09paramMap.remove(token);%0A%09%7D%0A%0A%09public static CacheBean get(String token) %7B%0A%09%09CacheBean commonCacheBean = cacheBeanMap.get(token);%0A%09%09if (commonCacheBean == null) %7B%0A%09%09%09commonCacheBean = new CacheBean();%0A%09%09%09cacheBeanMap.put(token, commonCacheBean);%0A%09%09%7D%0A%09%09return commonCacheBean;%0A%09%7D%0A%0A%0A%7D%0A

add cache files