Here you can find the source of isNotEmptyCollection(Collection> collection)
public static boolean isNotEmptyCollection(Collection<?> collection)
//package com.java2s; //License from project: Open Source License import java.util.Collection; public class Main { public static boolean isNotEmptyCollection(Collection<?> collection) { return !isEmptyCollection(collection); }//ww w .j ava 2s. c o m public static boolean isEmptyCollection(Collection<?> collection) { return null == collection || collection.isEmpty(); } }