Loading

集合判空

org.apache.commons.collections;

CollectionUtils.isEmpty()

public static boolean isEmpty(Collection coll) { return (coll == null || coll.isEmpty()); }

posted @ 2021-03-18 11:35  candidcrat  阅读(90)  评论(0)    收藏  举报