Here you can find the source of isNotNullAndNotEmpty(final Object[] array)
public static boolean isNotNullAndNotEmpty(final Object[] array)
//package com.java2s; import java.util.*; public class Main { public static boolean isNotNullAndNotEmpty(final Collection<?> collection) { return !(collection == null || collection.isEmpty()); }//www .ja v a 2 s . co m public static boolean isNotNullAndNotEmpty(final Object[] array) { return !(array == null || array.length == 0); } /** * Check if string is not null and not empty * * @param value * @return */ public static boolean isNotNullAndNotEmpty(final String value) { return !(value == null || value.trim().isEmpty()); } }