CollectionUtils

public class CollectionUtils

Author

gusd @Date 2022/10/18

Functions

Link copied to clipboard
public static boolean checkNullOrContainsNull<T>(Collection<T> collection)
Checks if the collection is null or contains null elements.
Link copied to clipboard
public static boolean checkNullOrEmptyOrContainsNull<T>(Collection<T> collection)
Checks if the collection is null, empty, or contains null elements.
Link copied to clipboard
public static boolean containsNull<T>(Collection<T> collection)
Checks if the collection contains null