2019年2月1日

转:Apache common包 CollectionUtils 使用详解

摘要: 集合判断: 例1: 判断集合是否为空:CollectionUtils.isEmpty(null): trueCollectionUtils.isEmpty(new ArrayList()): trueCollectionUtils.isEmpty({a,b}): false 例2: 判断集合是否不为 阅读全文

posted @ 2019-02-01 15:14 EastChilde 阅读(439) 评论(0) 推荐(0) 编辑

导航