集合工具类新增更多工具方法 #7
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CollectionTools 新增以下方法:
考虑不提供
nullToEmptyArrayList
、nullToEmptyLinkedList
、nullToEmptyHashSet
等返回不同实现类的方法,仅提供nullToEmptyList
、nullToEmptySet
、nullToEmptyMap
,分别在提供的集合为null
时,返回Collections.emptyList()
、Collections.emptySet()
、Collections.emptyMap()
。