摘要: // 日期生成和格式化String date = DateUtil.format(DateUtil.date(), "yyyyMMdd"); 阅读全文
posted @ 2020-12-09 13:28 xdsax 阅读(10) 评论(0) 推荐(0)
摘要: 前言 lombok的注解都是基于编译期。 @UtilityClass 编译后添加私有无参构造方法并在方法中抛出异常 private A() { throw new UnsupportedOperationException("This is a utility class and cannot be 阅读全文
posted @ 2020-12-09 12:46 xdsax 阅读(88) 评论(0) 推荐(0)