public class ListUtils extends Object
| Constructor and Description |
|---|
ListUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <E> boolean |
isAllNull(List<E> list)
returns true if list contains only null objects ie all objects in the
list are null.
|
static <E> boolean |
isAnyNull(List<E> list)
returns true if list contains a null object
|
static <E> boolean |
removeAllNull(List<E> list)
Removes all the null objects from the list
|
public static <E> boolean isAnyNull(List<E> list)
public static <E> boolean isAllNull(List<E> list)
public static <E> boolean removeAllNull(List<E> list)
Copyright © 2016. All Rights Reserved.