Here you can find the source of isNullOrEmptyList(final List> list)
public static boolean isNullOrEmptyList(final List<?> list)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static boolean isNullOrEmptyList(final List<?> list) { return list == null || list.size() == 0; }//from w w w.j a v a 2s .c om }