Class ListUtils

    • Method Detail

      • removeNullItems

        public static <T> List<T> removeNullItems​(List<T> list)
        Returns a copy of the specified list with all null items removed.
        Parameters:
        list - The list. May be null.
        Returns:
        The list with all null items removed, null if not specified.