Here you can find the source of isNotEmpty(final List> aList)
public static boolean isNotEmpty(final List<?> aList)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static boolean isNotEmpty(final List<?> aList) { if (null != aList) { if (!aList.isEmpty()) { return true; }//w w w. j a va 2 s .c om } return false; } public static boolean isEmpty(final List<?> aList) { return !(isNotEmpty(aList)); } }