@@ -0,0 +1,779 @@
+/**%0A *Copyright 2012-2013.All Rights Reserved%0A */%0Apackage org.pretty.common.utils;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0A/**%0A * %E9%9B%86%E5%90%88%E5%A4%84%E7%90%86%E5%B7%A5%E5%85%B7%E7%B1%BB%0A * @author %3Ca href=%22mailto:lazy_p@163.com%22%3Elazyp%3C/a%3E%0A * @version 2013-10-14%0A */%0Apublic final class CollectionUtils %7B%0A    public static boolean isEmptyList(List%3C?%3E l) %7B%0A        return l == null %7C%7C l.size() == 0;%0A    %7D%0A%0A    public static boolean isNotEmptyList(List%3C?%3E l) %7B%0A        return !isEmptyList(l);%0A    %7D%0A%0A    public static boolean isEmptyMap(Map%3C?, ?%3E map) %7B%0A        return map == null %7C%7C map.size() == 0;%0A    %7D%0A%0A    public static boolean isNotEmptyMap(Map%3C?, ?%3E map) %7B%0A        return !isEmptyMap(map);%0A    %7D%0A%0A    public static %3CT%3E List%3CT%3E newArrayList() %7B%0A        return new ArrayList%3CT%3E();%0A    %7D%0A%7D%0A

add CollectionUtils