CollectionUtils

public class CollectionUtils

Author

gusd @Date 2022/10/18

Functions

Link copied to clipboard
public static boolean checkNullOrContainsNull<T>(Collection<T> collection)
检测集合为 null 或者元素包含 null
Link copied to clipboard
public static boolean checkNullOrEmptyOrContainsNull<T>(Collection<T> collection)
检测集合为 null 或者为空集合,或者元素包含 null
Link copied to clipboard
public static boolean containsNull<T>(Collection<T> collection)
检测集合中是否包含 null