Here you can find the source of isNotEmpty(List> list)
public static boolean isNotEmpty(List<?> list)
//package com.java2s; import java.util.List; public class Main { public static boolean isNotEmpty(List<?> list) { return !isEmpty(list); }// w w w .j a v a 2 s.c om public static boolean isEmpty(List<?> list) { return null == list || list.isEmpty(); } }