public static <T> void isNullOrEmpty(List<T> list, String message) {

		isTrue(list == null || list.size() == 0, message);
	}
public static <T> void isNullOrEmpty(List<T> list, String message) {

		isTrue(list == null || list.size() == 0, message);
	}
public static < T > void isNullOrEmpty ( List < T > list , String message ) { isTrue ( list == null || list . size ( ) == 0 , message ) ; }
Tests if list is null or empty

@param list    must be null or empty
@param message to return in exception
@param <T>     object type
@throws IllegalArgumentException if list != null or list.size() greater than 0
Tests if list is null or empty