Here you can find the source of isNotEmpty(Collection c)
public static boolean isNotEmpty(Collection c)
//package com.java2s; import java.util.Collection; public class Main { public static boolean isNotEmpty(Collection c) { return !isEmpty(c); }/*from www. j a v a 2s. c o m*/ public static boolean isEmpty(Collection c) { return c == null || c.isEmpty(); } }