Here you can find the source of isNotEmpty(T[] array)
public static <T> boolean isNotEmpty(T[] array)
//package com.java2s; //License from project: Apache License import java.util.Collection; public class Main { public static <T> boolean isNotEmpty(T[] array) { return false == isEmpty(array); }//from www . ja va 2 s.com public static <T> boolean isNotEmpty(Collection<T> collection) { return false == isEmpty(collection); } public static <T> boolean isEmpty(T[] array) { return array == null || array.length == 0; } public static <T> boolean isEmpty(Collection<T> collection) { return collection == null || collection.isEmpty(); } }