parent
ca6507aaa0
commit
e375d19336
@ -0,0 +1,31 @@
|
||||
package com.platform.utils.excelUtils;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/** excel的模板 头
|
||||
* @author chen
|
||||
*
|
||||
*/
|
||||
public class ExcelHeadLine{
|
||||
|
||||
//excel 的 行 -列 值 文件头的保存。map<行,HashMap<列, 值>>
|
||||
private static Map<Integer,HashMap<Integer, String>> rowMap = new HashMap<Integer,HashMap<Integer, String>>();
|
||||
|
||||
public static HashMap<Integer, String> put(Integer key, HashMap<Integer, String> value) {
|
||||
return rowMap.put(key, value);
|
||||
}
|
||||
|
||||
public static Set<Integer> keySet() {
|
||||
return rowMap.keySet();
|
||||
}
|
||||
|
||||
public static HashMap<Integer, String> get(Integer key) {
|
||||
return rowMap.get(key);
|
||||
}
|
||||
|
||||
public static HashMap<Integer, String> remove(Integer key) {
|
||||
return rowMap.remove(key);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue