2018 年好,feilong-core 1.10.7 发布了。feilong-core 是一个让 Java 开发更简便的工具包,可以让你从大量重复的底层代码中脱身,提高工作效率;让你的代码更简炼,易写、易读、易于维护。 本次升级共有25 处变更,具体参见 1.10.7里程碑。 1.10.7 文档地址:http://feilong-core.mydoc.io/ 首先预览下,本次发布的核心内容:
此外,补充大量的单元测试,单元测试数量达到1967 个,代码覆盖率达到91% [Feature] #691 新增 AggregateUtil.groupCount(Iterable<O>, String[], Map<String, Transformer<Object, Object>>) 方法 #689 AggregateUtil.groupCount 增加对范围的支持 #694 MapUtil 添加 newHashMap() 方法 #696 MapUtil 添加 newConcurrentHashMap() 方法 #695 MapUtil 添加 newLinkedHashMap() 方法 #697 MapUtil 添加 newTreeMap() 方法 #698 CollectionsUtil 新建一个常见的new 方法 newArrayList newLinkedList newCopyOnWriteArrayList newHashSet newLinkedHashSet #693 NumberUtil 添加一些数字常量 #692 NumberUtil 新增比较两个Number 的方法 ,isEquals(Number, Number) , isGatherThan(Number, Number) , isGatherThanOrEquals(Number, Number) ,isLessThan(Number, Number) ,isLessThanOrEquals(Number, Number) #705 DatePattern 新增 . 分隔的时间格式
public static final String DOTS_DATE = "yyyy.MM.dd";
public static final String DOTS_DATE_AND_TIME_WITHOUT_SECOND = "yyyy.MM.dd HH:mm";
public static final String DOTS_DATE_AND_TIME = "yyyy.MM.dd HH:mm:ss";
public static final String DOTS_DATE_AND_TIME_WITH_MILLISECOND = "yyyy.MM.dd HH:mm:ss.SSS"; #701 新建 DateToStringTransformer #702 新建 NumberToStringTransformer #675 新建 java.lang.Thread.sleep(long) 工具类
[Update] #690 修改 AggregateUtil.groupCount 返回值, 从 Map<String, Map<T, Integer>> 改成 Map<String, Map<String, Integer>> #688 AggregateUtil.groupCount(Iterable, String[]) 参数 改成动态数组 #600 修改 CollectionsUtil.remove(Collection<O>, O) 成 CollectionsUtil.remove(Collection<O>, O...) 支持动态数组
[Remove] [Fix Bug] [javadoc] [test] #710 完善 BeanPredicateUtil 单元测试类 test #709 新建 BeanPredicate 单元测试类 test #708 新建 IgnoreCaseEquator 单元测试类 test #707 新建 RegexGroupNumberComparator 单元测试类 test #706 BeanPropertyValueChangeClosure 新建单元测试 test #703 新建 BeanTransformer 单元测试类 test #704 新建 SimpleClassTransformer 单元测试类 test #699 URLUtil 完善单元测试 test
[help wanted] [log] |