Here you can find the source of isNotEmpty(T[] array)
public static <T> boolean isNotEmpty(T[] array)
//package com.java2s; public class Main { /**/*from w ww . java 2s. c om*/ * Checks whether the provided {@code array} is empty (i.e is not null and has non-empty length). */ public static <T> boolean isNotEmpty(T[] array) { return (array != null && array.length > 0); } }