From cedf77d33cb3cc5670b700bdec62392668d056bc Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Wed, 4 Dec 2024 10:35:39 +0800 Subject: [PATCH] =?UTF-8?q?CollectionTools=20=E6=B7=BB=E5=8A=A0=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plusone/commons/collection/CollectionTools.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/collection/CollectionTools.java b/src/main/java/xyz/zhouxy/plusone/commons/collection/CollectionTools.java index 446ab37..d15aaee 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/collection/CollectionTools.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/collection/CollectionTools.java @@ -21,8 +21,16 @@ import java.util.Map; import javax.annotation.Nullable; +/** + * 集合工具类 + * + * @author ZhouXY + * @since 0.1.0 + */ public class CollectionTools { + // TODO [添加] 新增其它集合类型,如 guava 的扩展集合等 + // isEmpty public static boolean isEmpty(@Nullable Collection collection) {