java随笔
/**
* 设置map默认值为0值
*
* @param map
* 要设置的map
* @param num
* 设置0的个数
*/
private void setDefaultHourReport(Map<String, Object> map, int num) {
for (int i = 0; i < num; i++) {
String dd = String.format("%02d", i);
map.put(dd, ZERO);
}
}
posted on 2018-05-14 09:39 cxhfuujust 阅读(98) 评论(0) 收藏 举报
浙公网安备 33010602011771号