CollectionTools 新增 nullToEmptyList、nullToEmptySet、nullToEmptyMap 方法 #10

Merged
ZhouXY108 merged 2 commits from ZhouXY108/plusone-commons:1.x.x into 1.x.x 2024-12-29 22:22:22 +08:00

CollectionTools 提供 nullToEmptyList、nullToEmptySet、nullToEmptyMap,分别在提供的集合为 null 时,返回 Collections.emptyList()、Collections.emptySet()、Collections.emptyMap()。

close #7

CollectionTools 提供 nullToEmptyList、nullToEmptySet、nullToEmptyMap,分别在提供的集合为 null 时,返回 Collections.emptyList()、Collections.emptySet()、Collections.emptyMap()。 close #7
ZhouXY108 added 2 commits 2024-12-29 22:21:53 +08:00
c8e1d9ac59 CollectionTools 新增 nullToEmptyList、nullToEmptySet、nullToEmptyMap 方法
`CollectionTools` 提供 `nullToEmptyList`、`nullToEmptySet`、`nullToEmptyMap`,分别在提供的集合为 `null` 时,返回 `Collections.emptyList()`、`Collections.emptySet()`、`Collections.emptyMap()`。

close #7
ZhouXY108 merged commit 300a2436b1 into 1.x.x 2024-12-29 22:22:22 +08:00
ZhouXY108 deleted branch 1.x.x 2024-12-29 22:22:22 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: plusone/plusone-commons#10
There is no content yet.