摘要: 1、DateFormat 检查 DateFormat抽象类和SimpleDataFormat实现类,是非线程安全的,每次方法调用时,都需要新建实例; SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-ddd"); sdf.setLenient(f 阅读全文
posted @ 2023-06-01 14:42 唏嘘- 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 问题复现: public static void main(String[] args) { Map<String, Object> map = new HashMap<>(); map.put("code", "123"); map.put("name", null); System.out.pr 阅读全文
posted @ 2023-06-01 14:22 唏嘘- 阅读(1383) 评论(0) 推荐(0) 编辑