Commit c3888f0c by wangli

新增方法

1 parent ed500a8c
......@@ -6,4 +6,8 @@ public class ListUtils {
public static <T> boolean isNotEmpty(List<T> list) {
return list != null && !list.isEmpty();
}
public static <T> boolean isEmpty(List<T> list) {
return list == null || list.isEmpty();
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!